Question

In: Economics

Here is some sample of data: x y sex 1.37 55.29 0 1.94 57.26 0 3.44...

  1. Here is some sample of data:

x

y

sex

1.37

55.29

0

1.94

57.26

0

3.44

66.92

1

3.59

69.05

0

4.18

70.63

1

Y and X are continuous variables while Sex is a categorical variable where 0-male and 1-female.

  1. Turn variable Sex into a binary variable male.(Make a new column, and appropriately recode the variable)
  2. What is direction of relationship between y and variable male? Answer this question without any calculations.
  3. Write down a population model that looks at the relationship between y and male.
  4. Estimate coefficients and interpret coefficients.
  5. Standard errors associated with the intercept and slope are 3.61 and 5.71, respectively. Calculate 99% CI for both intercept and slop Test whether the coefficient on variable male is equal to 10.

f.Write down estimate regression and calculate R-squared

Solutions

Expert Solution

The objective of the following analysis is to estimate the regression model between variable y and variable male.

a. On turning the variable Sex into a binary variable male, the result is:

x y sex male
1.37 55.29 0 1
1.94 57.26 0 1
3.44 66.92 1 0
3.59 69.05 0 1
4.18 70.63 1 0

b. The direction of relationship between variable y and variable male is negative. The extreme higher value of Y and its relationship with variable male dominate the direction of relationship.

c. The population model that looks into the relationship between y and male is:

y = b1 + b2*male +u

d. On estimating the OLS regression between y and male in excel, the result is:

SUMMARY OUTPUT
Regression Statistics
Multiple R 0.639784995
R Square 0.40932484
Adjusted R Square 0.21243312
Standard Error 6.261600346
Observations 5
ANOVA
df SS MS F Significance F
Regression 1 81.51008333 81.51008333 2.07893374 0.24501494
Residual 3 117.6229167 39.20763889
Total 4 199.133
Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 99.0% Upper 99.0%
Intercept 68.775 4.427620066 15.53317561 0.000579759 54.68433688 82.86566312 42.91367274 94.63632726
male -8.241666667 5.716032926 -1.441850803 0.24501494 -26.43263453 9.949301199 -41.6284966 25.14516326

Thus, the intercept coefficient is 68.775 and the slope coefficient is -8.241666667

The intercept coefficient shows that expected value of y is 68.775 when there is a female.

The slope coefficient shows that expected value of y is 8.241666667 lower when there is male vis-a-vis when there is female

e. The standard error of the intercept is 3.61 , whereas, the standard error of slope-coefficient is 5.71

It shall be noted that for intercept coefficient, the standard error is 4.42762006 instead of 3.61

The 99% confidence interval for intercept coefficient as obtained in excel is 42.91367274 (Lower Confidence Limit) and 94.63632726 (Upper Confidence Limit)

The 99% confidence interval for slope coefficient as obtained in excel is -41.6284966 (Lower Confidence Limit) and 25.14516326 (Upper Confidence Limit)

It shall be noted that coefficient on male variable is the slope coefficient and it shows that 10 lies between -41.6284 and 25.14516326, thereby indicating that the coefficient on variable male is not statistically different from 10

f. The estimated regression model is:

y_estimated = 68.775 - 8.241666667*male

The R-Squared is 0.40932484


Related Solutions

Find y as a function of x if y′′′+25y′=0 y(0)=2,  y′(0)=20,  y′′(0)=−100 y(x)=
Find y as a function of x if y′′′+25y′=0 y(0)=2,  y′(0)=20,  y′′(0)=−100 y(x)=
static int product(int x,int y){ if(x==0||y==0){//checking if x or y is 0 return 0;//if x or...
static int product(int x,int y){ if(x==0||y==0){//checking if x or y is 0 return 0;//if x or y is 0, then the return value and x*y will be zero. }else if(y<0&&x<0){ x=-x;//Changing the sign of x y=-y;//Changing the sign of y }else if(x>=1){ return (y+product(x-1,y)); } return (x+product(x,y-1)); } find the space complexity and the time complexity of the above algorithm.
y''(t)+(x+y)^2*y(t)=sin(x*t+y*t)-sin(x*t-y*t), y(0)=0, y'(0)=0, x and y are real numbers
y''(t)+(x+y)^2*y(t)=sin(x*t+y*t)-sin(x*t-y*t), y(0)=0, y'(0)=0, x and y are real numbers
Solve the IVP using Laplace transforms x' + y'=e^t -x''+3x' +y =0 x(0)=0, x'(0)=1, y(0)=0
Solve the IVP using Laplace transforms x' + y'=e^t -x''+3x' +y =0 x(0)=0, x'(0)=1, y(0)=0
Solve the following differential equations: 1.) y"(x)+ y(x)=4e^x ; y(0)=0, y'(0)=0 2.) x"(t)+3x'(t)+2x(t)=4t^2 ; x(0)=0, x'(0)=0
Solve the following differential equations: 1.) y"(x)+ y(x)=4e^x ; y(0)=0, y'(0)=0 2.) x"(t)+3x'(t)+2x(t)=4t^2 ; x(0)=0, x'(0)=0
a) y''(x)-3y'(x)=8e3x+4sinx b) y''(x)+y'(x)+y(x)=0 c) y(iv)(x)+2y''(x)+y(x)=0
a) y''(x)-3y'(x)=8e3x+4sinx b) y''(x)+y'(x)+y(x)=0 c) y(iv)(x)+2y''(x)+y(x)=0
Here is data with y as the response variable. x y 71.4 25.1 82.8 34.4 81...
Here is data with y as the response variable. x y 71.4 25.1 82.8 34.4 81 75.3 77.1 72.8 84.6 63.4 64.8 75.8 85.4 117.6 -14.1 173.3 76.7 51.2 63.3 140.8 Make a scatter plot of this data. Which point is an outlier? Enter as an ordered pair, e.g., (x,y). (x,y)= Find the regression equation for the data set without the outlier. Enter the equation of the form mx+b rounded to three decimal places. ˆywo= Find the regression equation for...
Here is data with y as the response variable. x y 43.2 52.4 52.8 58.7 52.5...
Here is data with y as the response variable. x y 43.2 52.4 52.8 58.7 52.5 48.6 189.8 112.4 64.6 49.8 47.6 57.2 31.4 36.4 66.6 60.1 Make a scatter plot of this data. Which point is an outlier? Enter as an ordered pair. For example (a,b) - with parenthesis. Find the regression equation for the data set without the outlier. Enter as an equation of the form y=a+bxy=a+bx. Rounded to three decimal places. For this WAMAP question, do not...
Here is data with y as the response variable. x y 57.8 47.7 65.3 42.7 61...
Here is data with y as the response variable. x y 57.8 47.7 65.3 42.7 61 30.8 54.5 26.4 -70.7 -338.8 63 45.7 38.9 -46.1 70.2 35.5 Make a scatter plot of this data. Which point is an outlier? Enter as an ordered pair. For example (a,b) - with parenthesis. Find the regression equation for the data set without the outlier. Enter as an equation of the form y = a + b x . Rounded to three decimal places....
f(x,y)=3(x+y) 0<x+y<1, 0<x<1, 0<y<1 (a) E(xy|x)=? (b) Cov(x,y)=? (c) x and y is independent? thank you!
f(x,y)=3(x+y) 0<x+y<1, 0<x<1, 0<y<1 (a) E(xy|x)=? (b) Cov(x,y)=? (c) x and y is independent? thank you!
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT