Open wskamanda opened 3 years ago
Please review the discussion board etiquette:
https://ds4ps.org/cpp-523-sum-2021/help/
This is not meant as a nit-picky request, but is a professional norm of communication within the field.
To assess the problem we need to see the code that is producing the error. Which chunk are you getting stuck on specifically?
m.full <- lm( SWB ~ ND + PSS, data=dat )
m.naive <- lm( SWB ~ ND, data=dat )
m.auxiliary <- # your model here
It can't find object m.auxiliary because you haven't specified it yet. You need to add the proper variables to create the auxiliary regression.
Am facing the problem?
m.auxiliary <- # your model here Do I have to add the model in here?
Correct!
I did , but still the same . <- lm( ND ~ SWB, data=dat )
Did you assign the model to the new object called m.auxiliary?
m.auxiliary <- lm( ND ~ SWB, data=dat )
yes!
Am I wrong?
On Thu, Jun 10, 2021 at 4:55 PM Jesse Lecy @.***> wrote:
Did you assign the model to the new object called m.auxiliary?
m.auxiliary <- lm( ND ~ SWB, data=dat )
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DS4PS/cpp-523-sum-2021/issues/7#issuecomment-859161590, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATZH47VQD2H2NXYU25XRZSLTSFGHXANCNFSM46LID4IA .
That’s correct, should resolve the error you were getting. Are you still receiving an error?
yes ! am still receiving the Error.
Can you please share your code from the chunk and the error?
ok
On Thu, Jun 10, 2021 at 7:48 PM Jesse Lecy @.***> wrote:
Can you please share your code from the chunk and the error?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DS4PS/cpp-523-sum-2021/issues/7#issuecomment-859222264, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATZH47SPWS5TC6MRF6BIZGLTSF2OJANCNFSM46LID4IA .
DV: PSS | |
ND | |
SWB | 0.03*** |
(0.01) | |
Constant | 5.04*** |
(0.32) | |
Observations | 389 |
Adjusted R2 | 0.02 |
Standard errors in parentheses | *p<0.1; **p<0.05; ***p<0.01 |
DV: PSS | |
ND | |
SWB | 0.03*** |
(0.01) | |
Constant | 5.04*** |
(0.32) | |
Observations | 389 |
Adjusted R2 | 0.02 |
Standard errors in parentheses | *p<0.1; **p<0.05; ***p<0.01 |
Hello I am trying to run the chunks for Lab4, but the chunk for estimating auxiliary regression kept showing this error below;
Error in .stargazer.wrap(..., type = type, title = title, style = style, : object 'm.auxiliary' not found
Is there anything I can do to fix it? Please help Thanks William