Displaying 20 results from an estimated 100 matches similar to: "Breakpoints for multiple variables using Segmented"
2007 Jun 27
1
SEM model fit
I wonder if someone could explain why, when I perform confirmatory
factor-analysis model using polychoric correlations why I do not get an
estimated confidence interval for the RMSEA. My experience with these type
models is that I would obtain a confidence interval estimate. I did not get
any warning messages with the output.
RESULTS:
Model Chisquare = 1374 Df = 185 Pr(>Chisq) = 0
2013 Jul 22
1
Error with sem function df = -6
Hello all,
I have an issue where I am generating data and trying to confirm the
estimates using a sem. I keep getting an error about the degree of freedom
being negative "Error in sem.default(ram, S = S, N = N, raw = raw, data =
data, pattern.number = pattern.number, : The model has negative degrees of
freedom = -6"
Can someone explain this error or tell me what is wrong with my
2012 Oct 23
1
Minimizing Computational Time
Dear R-users,
May I seek some suggestions from you. I have a long programme written in R
with several 'for' loops inside. I just want to get them out by any elegant
way (if there is!) to reduce the computational time of the main programme.
For instance, is there any smart way for the following programme that will
lessen time?
2003 Dec 18
1
NUMERIC DERIVATE
UseRs,
I used the optim function
valor.optim <- optim(c(1,1,1),logexp1,method
="BFGS",control=list(fnscale=-1),hessian=T);
and I want to calculate the derivates,
psi1<-valor.optim$par[1]
psi2<-valor.optim$par[2]
psi3<-valor.optim$par[3]
a0=exp(psi1);
a1=exp(psi2)/(20+exp(psi2)+exp(psi3));
a2=exp(psi3)/(20+exp(psi2)+exp(psi3))
2006 Aug 22
1
Total (un)standardized effects in SEM?
Hi there,
as a student sociology, I'm starting to learn about SEM. The course I
follow is based on LISREL, but I want to use the SEM-package on R
parallel to it.
Using LISREL, I found it to be very usable to be able to see the
total direct and total indirect effects (standardized and
unstandardized) in the output. Can I create these effects using R? I
know how to calculate them
2013 Jan 11
1
problems with package 'segmented'
Dear R-users,
I am trying to understand how the 'segmented'-package works to determine
breakpoints and slopes of regression lines in broken-line regression models.
However, I am not able to repeat the example on the "plant"-dataset,
which was reported in the accompanying paper of the package. (V.M.R
Muggeo, "Segmented: an R package to fit regression models with
2012 Nov 16
1
Interpretation of davies.test() in segmented package
My data:
I have raw data points that form a logit style curve as if they were a time
series. Which is to say they form 3 distinct lines with 3 distinct slopes
in backwards z pattern. A certain class of my data looks essentially flat
to the eye with marginal oscillation. What is important to me is the x
value at which the state change is occurring, in other words, the break
point
Use of
2012 Oct 02
3
Integration in R
Dear R-users,
I am facing problem with integrating in R a likelihood function which is a
function of four parameters. It's giving me the result at the end but
taking more than half an hour to run. I'm wondering is there any other
efficient way deal with. The following is my code. I am ready to provide
any other description of my function if you need to move forward.
2001 Nov 25
2
another optimization question
Dear R list members,
Since today seems to be the day for optimization questions, I have one that
has been puzzling me:
I've been doing some work on sem, my structural-equation modelling package.
The models that the sem function in this package fits are essentially
parametrizations of the multinormal distribution. The function uses optim
and nlm sequentially to maximize a multinormal
2013 Mar 11
2
vertical lines in R plot
Dear All,
May I seek your suggestion on a simple issue. I want to draw vertical lines
at some positions in the following R plot. To be more specific, I wish to
draw vertical lines at d=c(5.0,5.5,6) and they should go till
p=c(0.12,0.60,0.20) . I haven't found any way out, though made several
attempts. Please run the following commands first if you are interested in!
2014 Jan 30
4
Cannot Join Samba 4.1 to an existing Windows 2008 domain as a Backup DC
Hi Everybody,
I'm stumped. I'm pretty sure I've tried everything to get this to work. I'm trying to join my CentOS 6 server to my Server 2008 AD Domain.
I'm using SerNet's samba4 packages:
[root at files ~]# samba -V
Version 4.1.4-SerNet-RedHat-7.el6
I've done the xattr and acl tests and they all come out just fine. So I don't think it has to do with ACLs
2004 Feb 26
2
Structural Equation Model
Hello all!
I want to estimate parameters in a MIMIC model. I have one latent
variable (ksi), four reflexive indicators (y1, y2, y3 and y4) and four
formative indicators (x1, x2, x3, x4). Is there a way to do it in R? I
know there is the SEM library, but it seems not to be possible to
specify formative indicators, that is, observed exogenous variables
which causes the latent variable.
Thanks,
2010 Nov 21
3
R help
Dear All,
I'm a beginner user in R and I would like to make a quadratic and
plateau model in R. Can you help please with an example?
Thanks so much
--
Ahmed M. Attia
Assistant Lecturer
El-Khattara farm Station
Agronomy Dept.,
Zgazig Univ., Egypt
Visiting Scientist
Haskell Agricultural laboratory
Agronomy and Horticultural Dept.,
Univ. of Nebraska-Lincoln
ahmedatia at zu.edu.eg
2013 Jan 08
1
tm: custom reader for readPlain
Hello:
I have a series of newspaper articles from a Canadian newspaper database (Canadian Newsstand) that look just like below.
I've read through this vignette (http://cran.r-project.org/web/packages/tm/vignettes/extensions.pdf) about creating a custom reader to extract meta-data, but I can't understand how to apply this in the context of a text document, rather than in the tabular format
2010 Jan 26
1
ordisymbol - changing symbols used in plotting factor levels
Hello,
I'm trying plot points in an NMDS according to a factor with two levels:
fig<-ordiplot(canod.sol,
type="none",cex.axis=0.9,cex.lab=0.1,pty="m",tck=-0.01)
ordisymbol(fig, y = hab, factor = "habitat", rainbow = T,col = env,
legend = F)
This gets me part of the way - It produces a plot with blue triangles
for the first factor level and red circles
2008 Jun 06
1
How to force two regression coefficients to be equal but opposite in sign?
Is there a way to set up a regression in R that forces two coefficients
to be equal but opposite in sign?
I'm trying to setup a model where a subject appears in a pair of
environments where a measurement X is made. There are a total of 5
environments, one of which is a baseline. But each observation is for
a subject in only two of them, and not all subjects will appear in
each
2007 May 28
5
Has anyone any insight as to why RedHat Enterprise Level 5 is broken as far as PXE booting is concerned.
Hi ALL
Has anyone any insight as to why RedHat Enterprise Level 5 is broken as far as PXE booting is concerned.
Is there a Protocol communication problem ????????
Are there alternative tftp-severs that work for the RHEL5..
It seems:
the PXE CLIENT when booting cannot access files in the "pxelinux.cfg" dir
RHEL4 works just fine !! ( kernel 2.6.9-22.EL) with
2004 Dec 17
0
behaviour of BIC and AICc code
Dear R-helpers
I have generated a suite of GLMs. To select the best model for each set, I am using the
meta-analysis approach of de Luna and Skouras (Scand J Statist 30:113-128). Simply
put, I am calculating AIC, AICc, BIC, etc., and then using whichever criterion
minimizes APE (Accumulated Prediction Error from cross-validations on all model sets)
to select models.
My problem arises where I
2002 Jun 26
0
Tenure track statistics position at UNB.
The Department of Mathematics and Statistics at the University of New
Brunswick, Fredericton, N. B., Canada, is advertizing a tenure track
position in Statistics, starting 1 July 2003. Please see
http://www.math.unb.ca/job-stat.html
for details.
cheers,
Rolf Turner
rolf at math.unb
[My apologies to those who receive multiple copies of this email.]
2005 Feb 07
3
problem with logistic regression
Hi,
we try to do a logistic regression with the function glm.
But we notice that this function don't give the same results as the SAS proc
catmod (differents estimate given).
We try to change the contrast on R system with:
> options(contrasts=c(unordered="contr.SAS",ordered="contr.poly"))
We also try with brlr and logistf functions.
Unfortunately, the estimate