Displaying 20 results from an estimated 9000 matches similar to: "Regression: standardized coefficients & CI"
2012 Nov 29
2
Confidence intervals for estimates of all independent variables in WLS regression
I would like to obtain Confidence Intervals for the estimates
(unstandardized beta weights) of each predictor in a WLS regression:
m1 = lm(x~ x1+x2+x3, weights=W, data=D)
SPSS offers that output by default, and I am not able to find a way to do
this in R. I read through predict.lm, but I do not find a way to get the
CIs for multiple independent variables.
Thank you
Torvon
[[alternative HTML
2007 Sep 19
1
SEM - standardized path coefficients?
Dear list members,
In sem, std.coef() will give me standardized coefficients from a sem model.
But is there a trick so that path.diagram can use these coefficients rather
than unstandardized ones?
Thanks
Steve Powell
From: John Fox <jfox_at_mcmaster.ca>
Date: Wed 28 Feb 2007 - 14:37:22 GMT
Dear Tim,
See ?standardized.coefficients (after loading the sem package).
Regards,
John
John
2007 Feb 28
1
SEM - standardized path coefficients?
Hello -
Does anybody know how to get the SEM package in R to return standardized
path coefficients instead of unstandardized ones? Does this involve
changing the covariance matrix, or is there an argument in the SEM itself
that can be changed?
Thank you,
Tim
[[alternative HTML version deleted]]
2012 Nov 09
1
Remove missings (quick question)
A colleague wrote the following syntax for me:
D = read.csv("x.csv")
## Convert -999 to NA
for (k in 1:dim(D)[2]) {
I = which(D[,k]==-999)
if (length(I) > 0) {
D[I,k] = NA
}
}
The dataset has many missing values. I am running several regressions on
this dataset, and want to ensure every regression has the same subjects.
Thus I want to drop subjects listwise for
2007 Feb 07
1
enhanced question / standardized coefficients
Hello,
I would like to repost the question of Joerg:
Hello everybody,
a question that connect to the question of Frederik Karlsons about 'how
to stand. betas'
With the stand. betas i can compare the influence of the different
explaning variables. What do i with the betas of factors? I can't use
the solution of JohnFox, because there is no sd of an factor. How can i
2010 Dec 11
2
remove quotes from the paste output
Hi,
I'm generating the name of the variable with paste function and then using that
variable name further to get the specific position value from the data.frame,
here is the snippet from my code:
modelResults <- extractModelParameters("C:/PilotStudy/Mplus_Input/Test",
recursive=TRUE)
#extractModelParameters reads all the output files from the Test folder and
create the
2006 Jul 31
0
standardized residuals (random effects) using nlme and ranef
> To sum up, I can't figure out how MLWin calculates the
> standardized residuals. But I understand that this is not a
> question for the R list.
> Nevertheless, it would help if someone could point me to some
> arguments why not to use them and stick to the results
> obtainable by ranef().
Hi Dirk:
Well, it is interesting that mlWin and lmer generate the same exact
2011 Jul 14
1
WLS regression, lm() with weights as a matrix
Dear All,
I've been trying to run a Weighted Least Squares (WLS) regression:
Dependent variables: a 60*200 matrix (*Rit*) with 200 companies and 60 dates
for each company
Independent variables: a 60*4 matrix (*Ft*) with 4 factors and 60 dates for
each factor
Weights: a 60*200 matrix (*Wit*) with weights for 200 companies and 60 dates
for each company
The WLS regression I would like to run
2006 Jul 19
1
WLS ins systemfit question
How does one specify the weights for WLS in the
systemfit command ?
That is, there is a weight option in lm(), but there
doesn't seem to be weight option for systemfit("WLS")
Thanks!
2007 Jul 24
1
function optimization: reducing the computing time
Dear useRs,
I have written a function that implements a Bayesian method to
compare a patient's score on two tasks with that of a small control
group, as described in Crawford, J. and Garthwaite, P. (2007).
Comparison of a single case to a control or normative sample in
neuropsychology: Development of a bayesian approach. Cognitive
Neuropsychology, 24(4):343?372.
The function (see
2008 Aug 04
2
Multivariate Regression with Weights
Hi all,
I'd like to fit a multivariate regression with the variance of the error term porportional to the predictors, like the WLS in the univariate case.
y_1~x_1+x_2
y_2~x_1+x_2
var(y_1)=x_1*sigma_1^2
var(y_2)=x_2*sigma_2^2
cov(y_1,y_2)=sqrt(x_1*x_2)*sigma_12^2
How can I specify this in R? Is there a corresponding function to the univariate specification lm(y~x,weights=x)??
2003 Mar 31
1
nonpos. def. var-cov matrix
R 1.6.2 for Windows, Win2k:
I have fitted a weighted least squares model using the code
"wls.out <- gls(y ~ x1 + x2 + x3 + x4 + x5 + x6 - 1, data = foo.frame,
weights = varConstPower(form = ~ fitted(.), fixed = list(power = 0.5),
const = 1))"
The data has 62 rows and the response is zero when the covariates are
zero. The purpose of the model was to account
for the the fact that
2009 Apr 11
2
who happenly read these two paper Mohsen Pourahmadi (biometrika1999, 2000)
http://biomet.oxfordjournals.org/cgi/reprint/86/3/677 biometrika1999
http://biomet.oxfordjournals.org/cgi/reprint/94/4/1006 biometrika2000
Hi All:
I just want to try some luck.
I am currenly working on my project,one part of my project is to
reanalysis the kenward cattle data by using the method in Mohsen's paper,but
I found I really can get the same or close output as he did,so,any
2011 Jul 05
3
[LLVMdev] optimizer returning wrong variable?
I'm having some trouble trying to workout how to form functions from the
c interface
I thought I had it sorted but I guess I'm missing something or haven't
understood
the requirements, a case of trial and error and not really having a clue
to start with!
I've got binary ops, cmps, for loops, while loops working but then it
hit the
wall with a tail cmp loop.
looking at the
2003 Apr 14
1
Factor analysis in R
Hi all,
is it possible to run factor analysis in R such that the routine
returns
- unstandardized factor scores (according to the original scale)
- rotated factor scores (these may be standardized)
So far I have only found the possibility to return standardised
unrotated factor scores.
Thank you very much,
Ursula
====================================================
NFO Infratest
Ursula
2004 Apr 07
1
ZIB models
I attempted to contact Drew Tyre, but the email I have for him is no
longer in service.
Hopefully someone can help.
I'm using obs.error in R to model turtle occupancy in wetlands.
I have 4 species and 20 possible patch and landscape variables, which
I've been testing in smaller groups.
> zib.out<-obs.error(y=painted,m=numvis,bp=zvars,pcovar=7)
I get the following error
2002 Mar 04
2
Standardized Beta?
Greetings all!
Got another question for you:
When doing regression, is there a way of automatically obtaining the
standardized correlation coefficients?
/Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2011 Jul 05
0
[LLVMdev] optimizer returning wrong variable?
Andrew Ferguson wrote:
> I'm having some trouble trying to workout how to form functions from
> the c interface
> I thought I had it sorted but I guess I'm missing something or haven't
> understood
> the requirements, a case of trial and error and not really having a clue
> to start with!
>
> I've got binary ops, cmps, for loops, while loops working but
2007 Sep 25
2
Constraining Predicted Values to be Greater Than 0
I have a WLS regression with 1 dependent variable and 3 independent variables. I wish to constrain the predicted values (the fitted values) so that they are greater than zero (i.e. they are positive). I do not know how to impose this constraint in R. Please respond if you have any suggestions.
There are some previous postings about constraining the coefficients, but this won't accomplish
2013 Mar 18
1
"save scores" from sem
I'm not aware of any routine that those the job, although I think that
it could be relatively easily done by multiplication the manifest
variable vector with the estimates for the specific effect.
To make an example:
v1; v2; v3; v4 are manifest variables that loads on one y latent
variablein a data frame called "A"
the code for the model should be like:
model <-specifymodel(
y