regress lwage jc totcoll exper Source SS df MS Number of obs = 6,763…
- User
regress lwage jc totcoll exper
codeSource | SS df MS Number of obs = 6,763-------------+---------------------------------- F(3, 6759) = 644.53 Model | 357.752575 3 119.250858 Prob > F = 0.0000 Residual | 1250.54352 6,759 .185019014 R-squared = 0.2224 -------------+---------------------------------- Adj R-squared = 0.2221 Total | 1608.29609 6,762 .237843255 Root MSE = .43014
codelwage | Coefficient Std. err. t P>|t| [95% conf. interval]-------------+---------------------------------------------------------------- jc | -.0101795 .0069359 -1.47 0.142 -.0237761 .003417 totcoll | .0768762 .0023087 33.30 0.000 .0723504 .0814021 exper | .0049442 .0001575 31.40 0.000 .0046355 .0052529 _cons | 1.472326 .0210602 69.91 0.000 1.431041 1.51361
- Assistant
- User
. Run the regression colGPA on PC, hsGPA, and ACT and obtain a 95% confidence interval for βPC. Is the estimated coefficient statistically significant at the 5% level against a two-sided alternative? A. Running the regression analysis on the following variables we get the below results:
Looking at the p-value of PC we can conclude that it is statistically significant as a variable affecting colGPA as the value is lesser than the alpha value of 0.05. Moreover, as the 95% confidence interval for PC doesn’t include 0 we can conclude that the coefficient for PC is statistically significant at the 5% interval level against a two-sided alternative.
is this analysis correct
- Assistant
Based on your description (without the actual provided results), it seems you're asserting that the variable
PC(personal computer ownership, perhaps) is statistically significant in predicting college GPA (colGPA), based on a regression where the independent variables arePC, high school GPA (hsGPA), and ACT scores (ACT).You mentioned that the p-value for
PCis less than 0.05, which is the common alpha threshold used for statistical significance. If this p-value is indeed below 0.05, thenPCis statistically significant at the 5% level against a two-sided alternative hypothesis.Furthermore, you've stated that the 95% confidence interval for the coefficient associated with
PCdoes not include 0. A 95% confidence interval that doesn't contain 0 implies that there's a 95% chance the true population effect of on is not zero, thus supporting the significance indicated by the p-value. - User
. regress colGPA PC hsGPA ACT
codeSource | SS df MS Number of obs = 141-------------+---------------------------------- F(3, 137) = 12.83 Model | 4.25741863 3 1.41913954 Prob > F = 0.0000 Residual | 15.1486808 137 .110574313 R-squared = 0.2194 -------------+---------------------------------- Adj R-squared = 0.2023 Total | 19.4060994 140 .138614996 Root MSE = .33253
codecolGPA | Coefficient Std. err. t P>|t| [95% conf. interval]-------------+---------------------------------------------------------------- PC | .1573092 .0572875 2.75 0.007 .0440271 .2705913 hsGPA | .4472417 .0936475 4.78 0.000 .2620603 .632423 ACT | .008659 .0105342 0.82 0.413 -.0121717 .0294897 _cons | 1.26352 .3331255 3.79 0.000 .6047871 1.922253
Run the regression colGPA on PC, hsGPA, and ACT and obtain a 95% confidence interval for βPC. Is the estimated coefficient statistically significant at the 5% level against a two-sided alternative
- Assistant
From the regression output provided:
The coefficient for
PCis 0.1573092 with a standard error of 0.0572875. The t-statistic associated withPCis 2.75 and the p-value is 0.007. Since the p-value is below the conventional level of significance (alpha = 0.05), this coefficient is statistically significant at the 5% level against a two-sided alternative. This means that holding hsGPA and ACT scores constant, the presence of a personal computer is associated with an increase in the predicted college GPA of approximately 0.1573 points.The 95% confidence interval for βPC is given as [0.0440271, 0.2705913]. This interval does not contain 0, further confirming that the coefficient is statistically significant at the 5% level. This confidence interval tells us that we can be 95% confident that the true population coefficient of
PCon college GPA lies between approximately 0.044 and 0.271.In conclusion, the analysis is correct. The estimated coefficient for
PCis statistically significant at the 5% level based on the provided regression output. - User
Discuss the statistical significance of the estimates β ̂_hsGPA and β ̂_ACT in part (i). Is hsGPA or ACT the more important predictor of colGPA? Explain.
- Assistant
From the provided regression output:
The coefficient for
hsGPA(β̂_hsGPA) is 0.4472417 with a standard error of 0.0936475. The t-statistic is 4.78, and the p-value is less than 0.0001. This indicates thathsGPAis statistically significant at the 5% level (and well beyond).The coefficient for
ACT(β̂_ACT) is 0.008659 with a standard error of 0.0105342. The t-statistic is 0.82, and the p-value is 0.413. With a p-value significantly above 0.05,ACTis not statistically significant at the 5% level.Determining which predictor is more important depends on the context of the research question and the unit of measurement of each variable. However, in traditional regression analysis, we can make some judgments based on the statistical output:
- User
Add the two indicators fathcoll and mothcoll to the regression in part (i). Is either individually significant? Are they jointly statistically significant at the 5% level?
how tp dp this in STATA
- Assistant
To add the two indicators
fathcoll(perhaps indicating if the father attended college) andmothcoll(indicating if the mother attended college) to the existing regression model in Stata, you will extend the regression command by simply adding the two variables at the end of the command:stataregress colGPA PC hsGPA ACT fathcoll mothcollRunning this, Stata will produce an updated output including the coefficients, standard errors, t-statistics, and p-values for the new variables.
To determine if either of the indicators is individually significant, you should look at their respective p-values: