search for: peterm

Displaying 17 results from an estimated 17 matches for "peterm".

Did you mean: peter
2003 Jul 24
4
Problem w/ source
I'm trying to use the source command to run commands from a file. For instance: source("do.R"), where do.R is a file in the same directory in which I am running R. The contents of do.R are: ls() print("hello") sum(y1) mean(y1) After source("do.R"), all I see is: > source("do.R") [1] "hello" I'm using the X11 version of R for
2009 Jul 11
0
foreign generates bad Stata data files (PR#13820)
...XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") x=as.data.frame(x, stringsAsFactors=F) names(x)[1]="x" write.dta(x, version = 10, file="/home/peterm/Desktop/x.dta") That's the main problem I wanted to report. There are several others you might want to look into. Above, leave out names(x)[1]="x" and take a look at what the name of the variable is in the dataframe--it's a line of code. Also, write.dta is supposed to tur...
2002 Mar 15
5
wbinfo
Dear all, Got a problem that turns me around. I'm quite new to samba. Yesterday when i tried the wbinfo -u/-g and other options worked without any worry. Also there was no error in the UNIX passwd program where i even changed the root password. This morning onwards i'm facing with problems where the wbinfo says there is an error looking up the domain for users and groups -h -i works
2001 May 10
35
winbind
Hello! I set debug level 10 to samba 2.2.0 and now see in log: [2001/05/10 08:31:48, 10] smbd/uid.c:gid_to_sid(409) gid_to_sid: winbind lookup for gid 5284 failed - trying local. How can I say to samba to not try use winbind? -- Wire connection and Windows reinstallation senior engineer Dmitry Melekhov http://www.belkam.com/~dm 2:5050/11.23@fidonet
2003 Apr 15
1
R capabilities: Bayesian estimation, Covariance Structure Analysis
I'm contemplating doing Bayesian estimation in R but am wondering how Bayesian estimation on R stacks up against BUGS. Is R reasonably complete, more difficult to use,...? Anyone care to share their experience? Also, am I right to conclude that covariance structure analysis & confirmatory factor analysis are not available in R? (I can't find them with help) Peter
2003 May 03
0
SEM bootstrapping
Has anyone created functions that apply bootstrapping to SEM models? I'm guessing that's a fairly straightforward application of existing functions, but would rather not reinvent the wheel. Coefficient p-values should be straightforward, but I'm not sure what it would take to get bootstrapped indicators like the Bollen-Stine p-value. Peter
2003 Jul 14
2
Hypothesis testing after optim
Hi folks: Does anyone know of a way to do (linear) hypothesis tests of parameters after fitting a maximum-likelihood model w/ optim? I can't seem to find anything like a Wald test whose documentation says it applies to optim output. Also, thanks again to everyone who gave me feedback on the robustness of ML estimation in R! Peter ********************************
2003 Jul 25
1
Programs stopped working--.print (newbie question)
I must have messed up my R environment, but don't know how or how to undo it. The problem is this: I paste the following into R: test<-function() { print("hello") } And I see this: > test<-function() + { + .print("hello") + } > test() Error in test() : couldn't find function ".print" > When I do the same in a fresh environment, I see
2003 Aug 25
2
Book recommendations: Multilevel & longitudinal analysis
Hi, does anyone out there have a recommendation for multilevel / random effects and longitudinal analysis? My dream book would be something that's both accessible to a non-statistician but rigorous (because I seem to be slowly turning into a statistician) and ideally would use R. Peter
2005 Oct 07
1
Matrix calculations in R--erroneous?
Does anyone know how -log(x) can equal 743 but -log(x+0)=Inf? That's what the following stream of calculations suggest: Browse[2]> -log ( 1e-323+yMat2 - yMat1 * logitShape(matrix(parsList$Xs, nrow = numXs, ncol=numOfCurves), matrix(means, nrow = numXs, ncol=numOfCurves, byrow=TRUE), matrix(sigmas, nrow = numXs, ncol=numOfCurves, byrow=TRUE)) )[5,9] [1] Inf Yet: Browse[2]>
2003 Jan 03
1
Problems with compiling
hi all, am trying to get samba 2.2.7a to compile on redhat 7.2 running ./configure --with-winbind --with-smbmount --with-pam --with-pam_smb I get this error checking configure summary... configure: error: summary failure. Aborting config when running just --with-winbind the configure finished no probs Thanks Pete
2005 Jan 18
2
Function to modify existing data.frame
I'm used to statistical languages, such as Stata, in which it's trivial to pass a list of variables to a function & have that function modify those variables in the existing dataset rather than create copies of the variables or having to replace the entire dataset to change a few variables. In R, I suppose I could paste together the right instructions in a function and then execute
2002 Aug 29
1
Problems with joining NT Domain
I am having problems getting samba to join a Windows NT Domain. I have done a debug. resolve_lmhosts: Attempting lmhosts lookup for name HPKFPN1<0x20> resolve_hosts: Attempting host lookup for name HPKFPN1<0x20> Connecting to 10.1.1.5 at port 445 error connecting to 10.1.1.5:445 (Connection refused) Connecting to 10.1.1.5 at port 139 lsa_io_sec_qos: length c does not match size 8
2003 Apr 01
2
Can't run regression on G3 Mac
Hi, I'm new to R. I was wondering if anyone has an OS X native installation (not Carbon) of R on a G3 Macintosh that is able to run linear regression? I installed Jan de Leeuw's R binary for OS 10.2 Jaguar on my laptop, which is still a G3 model. When I try to run a simple regression, using lm, I get an "Illegal Instruction" message and R quits. Jan thinks it may be the case
2005 Jan 19
1
Function to modify existing data.frame--Improving R Language
Thanks to everyone who replied to my question! A comment regarding Thomas's point below: Java & other object-oriented languages that are function rather than macro based usually provide methods & other capabilities that allow pass by reference in certain cases and these methods would solve the problem I posed regarding how to change values in an existing data.frame from within a
2003 Apr 24
2
Probs with Winbindd
I have installed a new version of redhat 9 with samba and winbindd. Uptill configuring winbindd, it was doing all that I was wanting. I then went onto configure and start winbind. I have inserted the options into the global part of the samba config when I do a wbinfo -u I get 0xc0000022 but when do a wbinfo -t fot the secret, I get the secret is good. Any help with this would be muchly
2003 Jul 13
3
How robust is mle in R?
A newbie question: I'm trying to decide whether to run a maximum likelihood estimation in R or Stata and am wondering if the R mle routine is reasonably robust. I'm fairly certain that, with this data, in Stata I would get a lot of complaints about non-concave functions and unproductive steps attempted, but would eventually have a successful ML estimate. I believe that, with the