python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Hierarchical linear regression (HLR) - can I perform each model/step using an Robust Linear Model (RLM)?
BACKGROUND:
I'm conducting a hierarchical linear regression using R (specifically R studio, Version 4.1.3). I want to use robust linear models (using the rlm function, MM-estimator) for each of my ste...
Elan French
Votes: 0
Answers: 0
Creating Dummy Variable for Two Events in Dataset and Restricting Regression by Time Period in Stata
I am testing effect to two events in a dataset with a time dummy variable (post). For instance, my first event is in 1999 so I want to post-period after 1999 to 2003. Similarly, my second event is in ...
Farhanhasnat
Votes: 0
Answers: 1
How are fitted values being calculated in simple linear model of factors in R - specific example
I created a simple linear model in R using factors as my predictors, but I'm having issues trying to reconcile how the fitted values are being calculated.
This is the linear model:
> summary(linear...
D.C. the III
Votes: 0
Answers: 2
Log transformation for lm() in R not working
I am trying to transform some data so that the assumptions of linear models (independence, linearity, homogeneity of variance, normality) are met. I want to do this so that I can perform an ANOVA or s...
Katie Jones
Votes: 0
Answers: 1