New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeming Unrelated Regression weights and out of sample prediction #214
Comments
The help says:
so that weights should be a dictionary (or possibly a DataFrame) with columns |
BTW, weights must be positive, so randn is a bad choice. |
Thanks for the help. Here is the code with adaptions that work in regards to weights.
Is out-of-sample prediction possible? Or, for such a simple model should I do the calculation "manually"? |
Have a look at the help here: |
Here is my final code
Thanks again. |
Hello,
I am interested in performing seemingly unrelated regression using linearmodels. I would like to be able to weight the observations in the model and obtain out-of-sample predictions. Is this possible? I have adapted the example code to begin to explore the possibilities but not progressed and I don't know if this is because what I want to do isn't possible.
with error message:
Thanks.
The text was updated successfully, but these errors were encountered: