Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 188188

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

3 votes
Accepted

Iteratively Reweighted Least Squares, (Logistic Regression)

I just found that inside the algorithm in the "matrix form" the variable it's equal to Wdiag = deriv2(eta) so in this case this variable stays always the same. So we have to change it to Wdiag = deri …
Carlo's user avatar
  • 251
3 votes
0 answers
818 views

Obtaining from scratch the volatility in GARCH model using R?

I'm trying to obtain the same vector of volatility by myself $\sqrt{h_{t|t-1}}$ of a Garch Model, that I obtained "automatically" using the function "ugarchfit" from the package "rugarch". So after …
Carlo's user avatar
  • 251
4 votes
1 answer
5k views

Iteratively Reweighted Least Squares, (Logistic Regression)

I'm trying to obtain the parameters estimates in a Logistic Regression using the IRLS (Iteratively Reweighted Least Squares) algorithm. I'm following this great and simple reference slides: (Logistic …
Carlo's user avatar
  • 251