Question

In: Statistics and Probability

Description: The data are from a national sample of 6000 households with a male head earning...

Description: The data are from a national sample of 6000 households with a male head earning less than $15,000 annually in 1966. The data were classified into 39 demographic groups for analysis. The study was undertaken in the context of proposals for a guaranteed annual wage (negative income tax). At issue was the response of labor supply (average hours) to increasing hourly wages. The study was undertaken to estimate this response from available data

SOLVE: Use SAS software to answer the following questions by using simple linear regression.

Research questions:

Do labor hours increase or decrease with wage rates?

What other factors affect the number of hours that people work?

The comparison between the correlation of wages and ages, and wages and schooling.

DATA BELOW:

HRS    RATE ERSP ERNO NEIN ASSET AGE DEP RACE SCHOOL

2157   2.905   1121   291   380   7250   38.5   2.340   32.1   10.5

2174   2.970   1128   301   398   7744   39.3   2.335   31.2   10.5

2062   2.350   1214   326   185   3068   40.1   2.851   *   8.9

2111   2.511   1203   49   117   1632   22.4   1.159   27.5   11.5

2134   2.791   1013   594   730   12710   57.7   1.229   32.5   8.8

2185   3.040   1135   287   382   7706   38.6   2.602   31.4   10.7

2210   3.222   1100   295   474   9338   39.0   2.187   10.1   11.2

2105   2.493   1180   310   255   4730   39.9   2.616   71.1   9.3

2267   2.838   1298   252   431   8317   38.9   2.024   9.7   11.1

2205   2.356   885   264   373   6789   38.8   2.662   25.2   9.5

2121   2.922   1251   328   312   5907   39.8   2.287   51.1   10.3

2109   2.499   1207   347   271   5069   39.7   3.193   *   8.9

2108   2.796   1036   300   259   4614   38.2   2.040   *   9.2

2047   2.453   1213   297   139   1987   40.3   2.545   *   9.1

2174   3.582   1141   414   498   10239   40.0   2.064   *   11.7

2067   2.909   1805   290   239   4439   39.1   2.301   *   10.5

2159   2.511   1075   289   308   5621   39.3   2.486   43.6   9.5

2257   2.516   1093   176   392   7293   37.9   2.042   *   10.1

1985   1.423   553   381   146   1866   40.6   3.833   *   6.6

2184   3.636   1091   291   560   11240   39.1   2.328   13.6   11.6

2084   2.983   1327   331   296   5653   39.8   2.208   58.4   10.2

2051   2.573   1194   279   172   2806   40.0   2.362   77.9   9.1

2127   3.262   1226   314   408   8042   39.5   2.259   39.2   10.8

2102   3.234   1188   414   352   7557   39.8   2.019   29.8   10.7

2098   2.280   973   364   272   4400   40.6   2.661   53.6   8.4

2042   2.304   1085   328   140   1739   41.8   2.444   83.1   8.2

2181   2.912   1072   304   383   7340   39.0   2.337   30.2   10.2

2186   3.015   1122   30   352   7292   37.2   2.046   29.5   10.9

2108   2.786   1757   *   506   9658   43.4   *   32.6   10.2

2188   3.010   990   366   374   7325   38.4   2.847   30.9   10.6

2203   3.273   *   *   430   8221   38.2   2.324   22.1   11.0

2077   1.901   350   209   95   1370   37.4   4.158   61.3   8.2

2196   3.009   947   294   342   6888   37.5   3.047   31.8   10.6

2093   1.899   342   311   120   1425   37.5   4.512   62.8   8.1

2173   2.959   1116   296   387   7625   39.2   2.342   31.0   10.5

2179   2.971   1128   312   397   7779   39.4   2.341   31.2   10.5

2200   2.980   1126   204   393   7885   39.2   2.341   31.0   10.6

2052   2.630   *   *   154   3331   40.5   *   45.8   10.3

2197   3.413   1078   300   512   10450   39.1   2.297   15.5   11.3

Solutions

Expert Solution

Sol:

use data step in SAS to create dataset.

input statement to declare variables

procedure corr to get the correlation matrix and var statement to anlayse which ever variable to analyse;:

Entire SAS Code:

data wage;
infile cards;
input
HRS RATE ERSP ERNO NEIN ASSET AGE DEP RACE SCHOOL;
cards;

2157 2.905 1121 291 380 7250 38.5 2.340 32.1 10.5

2174 2.970 1128 301 398 7744 39.3 2.335 31.2 10.5

2062 2.350 1214 326 185 3068 40.1 2.851 * 8.9

2111 2.511 1203 49 117 1632 22.4 1.159 27.5 11.5

2134 2.791 1013 594 730 12710 57.7 1.229 32.5 8.8

2185 3.040 1135 287 382 7706 38.6 2.602 31.4 10.7

2210 3.222 1100 295 474 9338 39.0 2.187 10.1 11.2

2105 2.493 1180 310 255 4730 39.9 2.616 71.1 9.3

2267 2.838 1298 252 431 8317 38.9 2.024 9.7 11.1

2205 2.356 885 264 373 6789 38.8 2.662 25.2 9.5

2121 2.922 1251 328 312 5907 39.8 2.287 51.1 10.3

2109 2.499 1207 347 271 5069 39.7 3.193 * 8.9

2108 2.796 1036 300 259 4614 38.2 2.040 * 9.2

2047 2.453 1213 297 139 1987 40.3 2.545 * 9.1

2174 3.582 1141 414 498 10239 40.0 2.064 * 11.7

2067 2.909 1805 290 239 4439 39.1 2.301 * 10.5

2159 2.511 1075 289 308 5621 39.3 2.486 43.6 9.5

2257 2.516 1093 176 392 7293 37.9 2.042 * 10.1

1985 1.423 553 381 146 1866 40.6 3.833 * 6.6

2184 3.636 1091 291 560 11240 39.1 2.328 13.6 11.6

2084 2.983 1327 331 296 5653 39.8 2.208 58.4 10.2

2051 2.573 1194 279 172 2806 40.0 2.362 77.9 9.1

2127 3.262 1226 314 408 8042 39.5 2.259 39.2 10.8

2102 3.234 1188 414 352 7557 39.8 2.019 29.8 10.7

2098 2.280 973 364 272 4400 40.6 2.661 53.6 8.4

2042 2.304 1085 328 140 1739 41.8 2.444 83.1 8.2

2181 2.912 1072 304 383 7340 39.0 2.337 30.2 10.2

2186 3.015 1122 30 352 7292 37.2 2.046 29.5 10.9

2108 2.786 1757 * 506 9658 43.4 * 32.6 10.2

2188 3.010 990 366 374 7325 38.4 2.847 30.9 10.6

2203 3.273 * * 430 8221 38.2 2.324 22.1 11.0

2077 1.901 350 209 95 1370 37.4 4.158 61.3 8.2

2196 3.009 947 294 342 6888 37.5 3.047 31.8 10.6

2093 1.899 342 311 120 1425 37.5 4.512 62.8 8.1

2173 2.959 1116 296 387 7625 39.2 2.342 31.0 10.5

2179 2.971 1128 312 397 7779 39.4 2.341 31.2 10.5

2200 2.980 1126 204 393 7885 39.2 2.341 31.0 10.6

2052 2.630 * * 154 3331 40.5 * 45.8 10.3

2197 3.413 1078 300 512 10450 39.1 2.297 15.5 11.3
;
run;
proc print data=wage;
run;

proc corr data=wage pearson plots=scatter(nvar=all);
run;
proc corr data=wage pearson plots=scatter;
var HRS;
with RATE ;
run;
proc corr data=wage pearson plots=scatter;
var RATE;
with AGE SCHOOL;
run;

Output:

There exists a positive relationship between HRS and RATE,as HRS increases RATE increases and vice versa.

The comparison between the correlation of wages and ages, and wages and schooling.

as

correlation coefficient between age and rate=0.03149

there exists a weak positive relationship between age and rate

p=0.8491,p>0.05

Relationship is not significant

correlation coefficient between school and rate=0.88397

there exists a strong positive relationship between school and rate

p<0.0001,p<0.05

Relationship  between school and rate is signifcant


Related Solutions

Description: The data are from a national sample of 6000 households with a male head earning...
Description: The data are from a national sample of 6000 households with a male head earning less than $15,000 annually in 1966. The data were classified into 39 demographic groups for analysis. The study was undertaken in the context of proposals for a guaranteed annual wage (negative income tax). At issue was the response of labor supply (average hours) to increasing hourly wages. The study was undertaken to estimate this response from available data Approach: Our plan is to divide...
National data indicates that​ 35% of households own a desktop computer. In a random sample of...
National data indicates that​ 35% of households own a desktop computer. In a random sample of 570​ households, 40% owned a desktop computer. Does this provide enough evidence to show a difference in the proportion of households that own a​ desktop? Identify the appropriate null and alternative hypotheses. A. H0: p= 0.35 Ha​: p ≠ 0.35 B. H0​: p​ = 0.40     Ha​:p​ > 0.40 C. H0​:p​ = 0.35     Ha​:p​ < 0.35 D. H0​:p​ = 0.40     Ha​:p ≠ 0.40
In US, the mean weekly earning of male works was $1005 last year. A random sample...
In US, the mean weekly earning of male works was $1005 last year. A random sample of 50 female workers, their weekly earnings also last year in dollars are provided in the following table. 560 360 688 1301 49 582 751 4131 3211 646 1312 1931 764 297 232 699 88 364 1111 427 1235 494 3430 298 245 448 785 1931 994 152 875 920 826 756 440 448 295 646 896 353 619 887 1079 59 219 1019...
A random sample data is given below for annual income from 30 households. 96727 96621 107235...
A random sample data is given below for annual income from 30 households. 96727 96621 107235 95366 97681 101890 95432 96697 107511 96886 96522 95385 97469 96664 106627 95744 95208 107795 98717 106622 107338 94929 95801 105601 97912 97611 96362 96244 97835 99610 A. From the info given above, what is the IQR? B. From the data above, construct a 95% confidence interval for the population's mean annual income. _____________< u > _____________ C. What is the statistical interpretation of...
A paper included analysis of data from a national sample of 1,000 Americans. One question on...
A paper included analysis of data from a national sample of 1,000 Americans. One question on the survey is given below. "You owe $3,000 on your credit card. You pay a minimum payment of $30 each month. At an Annual Percentage Rate of 12% (or 1% per month), how many years would it take to eliminate your credit card debt if you made no additional charges?" Answer options for this question were: (a) less than 5 years; (b) between 5...
A sample of 100 households is selected from a village in a small country with a...
A sample of 100 households is selected from a village in a small country with a mean household income of $27,200 and standard deviation of $8,400. This seems to be higher than the average for the whole country which is $25,000 and with a standard deviation of $6,500. Is the income of this small village higher on average than the rest of the country? Calculate and show the main steps for this problem.
A random sample of 100 households and collect data on each household’s income. You find a...
A random sample of 100 households and collect data on each household’s income. You find a sample income standard deviation of $160,000. You want to test the null hypothesis that the population mean income is $100,000, using a p-value of 0.05, against the alternative that it does not equal $100,000. You will: A. Reject the null hypothesis if the sample mean is $130,000 B. Fail to reject the null hypothesis if the sample mean is between $80,000 and $120,000 C....
A simple random sample of 30 households was selected from a particular neighborhood. The number of...
A simple random sample of 30 households was selected from a particular neighborhood. The number of cars for each household is shown below. Construct the 98% confidence interval estimate of the population mean. 2 0 1 2 3 2 1 0 1 4 1 3 2 0 1 1 2 3 1 2 1 0 0 5 0 2 2 1 0 2 A) 1.0 cars < μ < 2.0 cars B) 0.9 cars < μ < 2.1 cars C)...
Use "PLUC" data and the description for the dataset on the blackboard. Conduct a two sample...
Use "PLUC" data and the description for the dataset on the blackboard. Conduct a two sample independent t test to test if the population means of heights of male is higher than that of female. Use R to calculate the p-value. ***Answer is 0.8974*** sex hgt m 45.68187 m 54.76593 m 43.80479 f 46.1765 m 57.60508 f 40.02826 f 52.50647 f 43.14426 m 45.27999 m 41.95513 m 43.67319 f 58.09449 m 42.47022 f 55.91853 m 44.01857 f 43.25757 m 57.4945...
Use "PLUC" data and the description for the dataset on the blackboard. Conduct a two sample...
Use "PLUC" data and the description for the dataset on the blackboard. Conduct a two sample independent t test to test if the population means of heights of male is higher than that of female. Use R to calculate the p-value. ***Answer is 0.8974*** sex hgt m 45.68187 m 54.76593 m 43.80479 f 46.1765 m 57.60508 f 40.02826 f 52.50647 f 43.14426 m 45.27999 m 41.95513 m 43.67319 f 58.09449 m 42.47022 f 55.91853 m 44.01857 f 43.25757 m 57.4945...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT