Displaying 20 results from an estimated 300 matches similar to: "SEM help!!!"
2004 Feb 02
4
for loops?
Hello R people!
How can one use a for loop (or something similar) in R? As I type in each
line, I get syntax errors... I'm just confused how much to type in at each
">" prompt.
Thanks for your help,
cathy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Catherine M. Stein
Research Assistant, Tuberculosis Research Unit
Doctoral Candidate in
2011 May 11
1
Problem with constrained optimization with maxBFGS
Dear all,
I need to maximize the v:
v= D' W D
D is a column vector ( n , 1)
W is a given matrix (n, n)
subject to:
sum D= 1
(BTW, n is less than 300)
I´ve tried to use maxBFGS, as follows:
#####################################
objectiveFunction<-function(x)
{
return(t(D)%*%W%*%D)
}
Amat<-diag(nrow(D))
Amat<-rbind((rep(-1, nrow(D))), Amat)
bvec<-matrix( c(0), nrow(D)+1,
2005 Mar 09
2
Structural equation models with R
Hello useRs,
I`m running structural equation models with R, but for one of my models the
below error message apears. I`m trying to change startvalues but without
success. The manual for sem package did not help me. Does anyone knows how to
change startvalues for iteration in sem package? Or it can be another problem
with the model?
Error in startvalues(S, ram, debug = debug, tol = start.tol)
2013 Jan 02
1
Need help with self-defined function to perform nonlinear regression and get prediction interval
Dear All,
I was trying to call a self-defined function that performs nonlinear
regression and gets the corresponding prediction upper limit using nls2
package. However, weird thing happened. When I called the function in the
main program, an error message "fitted(nlsmodel): object 'nlsmodel' not
found" came up. But when I directly ran the codes inside the function, no
error came
2004 Sep 29
2
optim "a log-likelihood function"
Hello,
i know that i have to use optim, but i'm confused how its
possible maximize the sum over all l[i] and get the optimized
max(LL), r and alpha?
LL <- function(trans,time){
for(i in 1:length(trans){
l[i] <- log(lgamma(r+trans[i] -
gamma(r+1)*(alpha/alpha+t[i]))**r)*(t[i]/alpha+t[i]))**trans[i]
}
return(sum(l))
}
i'm confused how i have to set r and alpha
and i
2000 Jan 29
1
ssh-1.2.2 freeze under Linux
After compiling and installing ssh-1.2.2 at home whenever I try to ssh
to a host ssh freezes and never actually tries to establish a
connection. Actually it depends on whether I'm dialed in or not
(it has to do with dns lookups, I'm not sure exactly what it is
doing). The problem seems to be caused by getaddrinfo in ssh.c,
line 511. If I strace the process it keeps trying to connect to
2006 Oct 24
1
samba pdc with ldap backend setup problems
Greetings...
I'm struggling trying to set up a samba 3.0.23c PDC with ldap
backend. The server is Fedora 5, OpenLdap version 2.3.19-4.
I've got it so smbd and nmbd start properly and I can use a windows
box and see the domain using srvmgr.exe and usrmgr.exe. I'm then
able to signon from a windows XP computer with the command
net use \\pdcserver\ipc$ /user:root rootpassword
Some
2006 Nov 26
1
problem loading package Hmisc
Hi,
I installed the package Hmisc with the command
install.packages("Hmisc") without errors. When I try to load the
library with command library(Hmisc) I get the error
> library(Hmisc)
Error in library(Hmisc) : there is no package called 'Hmisc'
> version
_
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386,
2004 May 12
1
Sem error - subscript out of bounds
What??s happening with this following code:
require(sem)
Celpe.Mod.RAM <- matrix(c(
# path parametro Inicio
"Produ????o -> T1", "gamma.11", NA,
"Produ????o -> T2", "gamma.12", NA,
2019 Jan 04
2
Potential bug in SelectionDAGLegalize::ConvertNodeToLibcall()?
Aside from the fact that you're checking for i64 specifically instead of generally checking for illegal types, how much of this is really PPC specific? Would this be a reasonable enhancement to the SDAG logic in general?
-Hal
On 1/4/19 8:03 AM, Nemanja Ivanovic wrote:
The changes seem fine to me. I don't think this is excessively intrusive and it accomplishes what is needed by targets
2004 May 02
2
bindpw in ldap.conf
Sorry if this question is more for the LDAP community, but since I ran
into this via the Samba3 by Example book, I'm asking here. :)
As described in Chapter 6, PAM and NSS Client Configuration, in the
ldap.conf file, is it necessary to have the bindpw line? From what I
have seen, ldap.conf needs to be world readable and having that entry
would seem to me to be a security risk. Am I
2009 Jan 26
1
sem package: start values
Hello-
If I input a variance-covariance matrix and specify NA for start values,
how does sem determine the start value? Is there a default?
Anthony
--
Anthony Steven Dick, Ph.D.
Post-Doctoral Fellow
Human Neuroscience Laboratory
Department of Neurology
The University of Chicago
5841 S. Maryland Ave. MC-2030
Chicago, IL 60637
Phone: (773)-834-7770
Email: adick at uchicago.edu
Web:
2007 Apr 11
1
creating a path diagram in sem
Hello,
I finally run my measurement model in sem - successfully. Now, I am trying to print out the path diagram that is based on the results - but for some reason it's not working. Below is my script - but the problem is probably in my very last line:
# ANALYSIS OF ANXIETY, DEPRESSION, AND FEAR - LISREL P.31
library(sem)
# Creating the ANXIETY, DEPRESSION, AND FEAR intercorrelation matrix
2006 Jul 09
1
Tiger OS X darwin ports problem with readline
Hi,
I just edited this page:
http://wiki.rubyonrails.org/rails/pages/DarwinPorts
I thought I''d post something to this mail-list in hopes of an answer..
I''m running Tiger.
On my Mac, I cannot get past installation of readline:
mac:~ mac$ sudo port install readline
Password:
---> Fetching readline
---> Attempting to fetch readline51-001 from
2002 Oct 15
0
[Bug 414] New: sshd initially ignores -e (log_stderr) if -i (inetd_flag) is given
http://bugzilla.mindrot.org/show_bug.cgi?id=414
Summary: sshd initially ignores -e (log_stderr) if -i
(inetd_flag) is given
Product: Portable OpenSSH
Version: -current
Platform: All
URL: http://marc.theaimsgroup.com/?l=openssh-unix-
dev&m=102469253706346&w=2
OS/Version: Linux
2003 Sep 03
3
[Bug 634] scp incompatibility with ssh.com scp
http://bugzilla.mindrot.org/show_bug.cgi?id=634
Summary: scp incompatibility with ssh.com scp
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: scp
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: wgs3 at
2002 Feb 01
1
Hi, I have a strange project...
I have a java application that uses JNI (Java Native Methods) that allow
it to use a windows DLL.
I would very much like to run this application under linux using wine to
run java and link to the DLL. I think it will work but am having trouble
with the wine configuration. In particular:
The windows version of java running under wine starts but when it trys to
load a class, it first trys to
2014 Jun 26
2
[LLVMdev] cross-section differences in MC generation
Attached. You can also find it at
http://people.freebsd.org/~jhibbits/hello_llvm.s .
- Justin
On Thu, Jun 26, 2014 at 1:26 PM, Rafael Avila de Espindola
<rafael.espindola at gmail.com> wrote:
>
>
> Sent from my iPhone
>
>> On Jun 26, 2014, at 12:33, Justin Hibbits <jrh29 at alumni.cwru.edu> wrote:
>>
>> I'm working on Position-independent code for
2006 Jun 02
3
lm() variance covariance matrix of coefficients.
Hi,
I am running a simple linear model with (say) 5 independent variables. Is
there a simple way of getting the variance-covariance matrix of the
coeffcient estimates? None of the values of the lm() seem to provide this.
Thanks in advance,
Ritwik Sinha
rsinha@darwin.cwru.edu
Grad Student
Case Western Reserve University
[[alternative HTML version deleted]]
2007 Apr 06
1
dbinom and Catherine Loader
Hi Folks,
There has been past correspondence regarding Catherine Loader's
Bell Labs (oops, Lucent) paper
"Fast and Accurate Computation of Binomial Probabilities"
which gives the algorithm on which R's dbinom() is based.
The original URL given in the R documentation "?dbinom" is:
http://cm.bell-labs.com/cm/ms/departments/sia/catherine/dbinom
but this link is