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 27403

Techniques for analyzing the relationship between one (or more) "dependent" variables and "independent" variables.

2 votes
Accepted

Why is $\sigma^2$ also the unconditional variance of $u^2$ in the homoskedasticity assumptio...

$${\rm E}(u^2) = {\rm E}[{\rm E}(u^2|x)] = {\rm E}(\sigma^2) = \sigma^2$$
QuantIbex's user avatar
  • 4,146
30 votes
Accepted

How do I calculate the variance of the OLS estimator $\beta_0$, conditional on $x_1, \ldots ...

This is a self-study question, so I provide hints that will hopefully help to find the solution, and I'll edit the answer based on your feedbacks/progress. The parameter estimates that minimize the s …
QuantIbex's user avatar
  • 4,146
13 votes
Accepted

Fit a GARCH (1,1) - model with covariates in R

Here is an example of implementation using the rugarch package and with to some fake data. The function ugarchfit allows for the inclusion of external regressors in the mean equation (note the use of …
QuantIbex's user avatar
  • 4,146
1 vote

Linear regression simulation

Here is a suggestion: ## Parameters n <- 20 # number of samples rho <- 0.5 # correlation between predictors beta <- c(0.8,3,1.5,0,0,2,0,0,0) # regression
QuantIbex's user avatar
  • 4,146
4 votes

Using Nelder-Mead algorithm for minimizing the sum of absolute deviations from the residuals

Use the optim function with appropriate parameters, including your sum.abs.dev function, initial values for the vector of regression parameters, the data, and the optimization method. …
QuantIbex's user avatar
  • 4,146