search for: form3

Displaying 6 results from an estimated 6 matches for "form3".

Did you mean: form
2011 Jun 23
0
Loops, Paste, Apply? What is the best way to set up a list of many equations?
Is there a way to apply paste to?list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4)?such that I don't have to write form1=EQ1 for all my models?(I might have a list of 20 or more)? I also need the EQs to read the formulas associated with them. For example, below, I was able to automate the name assignment but I could not figure out how to?to set up the lis...
2012 Apr 01
1
indexing in a function doesn't work?
...e vector within the dataframe you're using to subset (should be a percentage), form 1 is the simple y~x for the plot, form 2 is y~x for regression, type is lm 1 or 2 nls ,form 3 is the formula for the nls, sx and sn are the start values for nls plotter<-function(a,b,fram,framvec,form1,form2,form3, type=1, xlm, ylm, sx=.01,sn=25){ g<-ceiling(a/b) par(mfrow=c(b,g)) num<-rep(0,a) sub.plotter<-function(i,fram,framvec,form1,form2,form3,type, xlm,ylm,var1,var2){ temp.i<-fram[framvec <=(i*.10),] plot(form1, data=temp.i, xlim=c(0,xlm), ylim=c(0,ylm), main=((i-1)*.10)) if(type==1){...
2011 Jun 21
1
Setting up list of many equations for systemfit
...m trying to find a simple way to set up the list command under the package system fit. Here is the example from system fit and what I am trying to do: EQ1 <- Y1 ~ X1 + X2 + X4EQ2 <- Y2 ~ X2 + X3EQ3 <- Y3 ~ X2 + X3 + X4EQ4 <- Y4 ~ X1 + X3 + X4eqSystem <-list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4) #atempt 1 to "automate" above:eqSystem1 <-paste(paste("form", 1:4, sep=""), paste("EQ", 1:4,sep=""),sep="=") #attempt 2 "automate" above:eqSystem2 <-as.list(paste(paste("form", 1:4, sep="...
2007 Mar 19
1
Forms lost focus in KDE
Hello, I'm testing a simple delphi application that have 3 forms. >From FORM1 (the main form) I press a button to show FORM2, then from FORM2 I press a button to show FORM3, when I close FORM3, FORM1 becomes focused instead of FORM2. Every time you close a form or a dialog the application main form becomes the active one. This only happend in KDE, allowing windows manager to control the windows. Any idea? should I report this in bugzila?
2008 Apr 23
1
pdf() and histogram() in function call
...(j in plist) { filedir<- paste(dir, "/", j, ".pdf", sep="") form1<- as.formula(paste("~ ", j, " | var1", sep=" ")) form2<- as.formula(paste("~ ", j, " | var2", sep=" ")) form3<- as.formula(paste("~ ", j, " | var3", sep=" ")) pdf(filedir) histogram(form1,data=x,type="count", xlab=j,main="Histogram conditioned on the levels of var1") histogram(form2,data=x, type="count",xlab=j,main="H...
2011 Jun 28
2
How do I output all the R-squares of an SUR? summary(fitSUR$eq[[1:4]])$r.squared does not work
...Y1 ~ X1 + X2 + X4 + X7 + X10 ## equation 1 formula EQ2 <- Y2 ~ X2 + X3 + X5 + X8 + X10 ## equation 2 formula EQ3 <- Y3 ~ X5 + X6 + X7 + X9 ## equation 3 formula EQ4 <- Y4 ~ X1 + X3 + X4 + X6 + X9 ## equation 4 formula eqSystem <-list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4) fitSUR <- systemfit(eqSystem, method ="SUR", data=YX) ## How do I out put all the R-squares of the system without having to type a single line for each? summary(fitSUR$eq[[1]])$r.squared summary(fitSUR$eq[[2]])$r.squared summary(fitSUR$eq[[3]])$r.squared summary...