Repository navigation
ENH/REF: Scoretest betareg - #7907
Conversation
|
preliminary score_test works for BetaModel, res_restr restricted model, constant exog_precision aside: |
|
discret test_discrete check_jac has general code for creating score, hessian from I'm converting multi-dimensional |
|
I have the array versus scalar return problem in score_test |
|
I have the array versus scalar return problem in score_test |
|
This pull request introduces 2 alerts when merging 2746ada into e59be64 - view on LGTM.com new alerts:
|
2746ada to
1a57393
Compare
| score_obs = (score_factor[:, None] * ex) | ||
| else: | ||
| sf = score_factor | ||
| score_obs = np.column_stack((sf[:, :1] * ex, sf[:, 1:])) |
There was a problem hiding this comment.
this was not supposed to be in here.
left over from an initial try for NBP
it doesn't have the corresponding part for 2 element hessian_factor
|
I cannot make
I will need a convention, mainly also for #7793 I might start with I will need the exog_xxx names also if we use multi-part formulas, separated by |
|
Hello @josef-pkt! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-11-28 01:41:38 UTC |
|
generic _scorehess_extra works for Beta, NBP and GPP, using new no new results.score_test methods yet. I'm using standalone function |
|
test failures are pep-8, two indentations maybe another unit test, cleanup and merge next most likely MLEInfluence with numerical derivatives #7891 |
a429715 to
cabe277
Compare
|
There's a problem with this branch or github. amended and force pushed again |
3ef1fa7 to
4247624
Compare
starting to add score_test to multilink model
score_test will be experimental, because I don't have a clear design about how to outsource the relevant multilink computations.
Also models with extra params (but not extra exog) like NBP or GPP will need a different solution than multi-exog models like BetaModel.