Displaying 20 results from an estimated 500 matches similar to: "gnls - Step halving...."
2011 Feb 06
1
anova() interpretation and error message
Hi there,
I have a data frame as listed below:
> Ca.P.Biomass.A
P Biomass
1 334.5567 0.2870000
2 737.5400 0.5713333
3 894.5300 0.6393333
4 782.3800 0.5836667
5 857.5900 0.6003333
6 829.2700 0.5883333
I have fit the data using logistic, Michaelis?Menten, and linear model,
they all give significance.
> fm1 <- nls(Biomass~SSlogis(P, phi1, phi2, phi3), data=Ca.P.Biomass.A)
2007 Aug 23
1
degrees of freedom question
R2.3, WinXP
Dear all,
I am using the following functions:
f1 = Phi1+(Phi2-Phi1)/(1+exp((log(Phi3)-log(x))/exp(log(Phi4)))
f2 = Phi1+(Phi2-Phi1)/(1+exp((log(Phi3)-log(r)-log(x))/exp(log(Phi4)))
subject to the residual weighting
Var(e[i]) = sigma^2 * abs( E(y) )^(2*Delta)
Here is my question, in steps:
1. Function f1 is separately fitted to two different datasets
corresponding to
2017 Oct 18
4
Error messages using nonlinear regression function (nls)
Hi all,
I am trying to use nonlinear regression (nls) to analyze some seed germination data, but am having problems with error codes.
The data that I have closely matches the germination dataset included in the drc package.
Here is the head of the data
temp species start end germinated TotSeeds TotGerminated Prop
1 10 wheat 0 1 0 20 0 0.0
2 10 wheat
2008 Apr 04
1
Problems with Unit Root testing using ur.df function
Hi All,
I'm new to R and am trying to run a unit root test on the vector "y" (a time
series of inflation (i.e. changes in the Consumer Price Index quarter on
quarter)).
I've run the Augmented-Dickey-Fuller Test below (R's URCA package). It gives
me an error that it cannot find the function ur.df unless I comment out the
third last line of code (see below).
I try to call
2010 Apr 14
0
ur.df ADF Unit Root Test: what is the meaning of phi1 and phi2 test statistic?
Hello,
I am using the ur.df function from the {arca} package to run the augmented
Dickey-Fuller unit root test on several time series. However; I do not
understand the econometric interpretation of the the "phi1" and "phi2"
test-statisitc which are output if you choose a "trend" or "drift" model. I
looked at the source code for the function but I do not
2003 Jun 03
1
tseries "adf.test"
I have a question regarding the adf.test command in the tseries library.
I have a vector of time series observations (2265 daily log prices for the
OEX to be exact). I also have this same data in first-differenced form. I
want to test both vectors individually for staionarity with an Augmented
Dickey-Fuller test. I noticed when I use the adf.test command from the
tseries library, the general
2006 Nov 06
1
question about function "gls" in library "nlme"
Hi:
The gls function I used in my code is the following
fm<-gls(y~x,correlation=corARMA(p=2) )
My question is how to extact the AR(2) parameters from "fm".
The object "fm" is the following. How can I extract the correlation parameters
Phi1 and Phi2 from "fm"? These two parametrs is not in the "coef" componenet of "fm".
Thanks a
2002 May 24
5
intersecting polygons and conversion from decimal degree to km
Dear all,
1. How can I compute the intersecting area between 2 polygons ?
2. I have polygons with coordinates in decimal degrees (i.e. 13 deg 30
min = 13.5 decimal degrees). I want to compute their area and get the
results in square meters or square kiometers. Can anyone give me a
conversion coefficient or a pointer where I can find this information
(sorry for this off topic question) ?
Thanks
2005 Sep 06
1
R: optim
hi all
i dont understand the error message that is produced by the optim
function. can anybody help???
ie:
[[1]]$message
[1] "CONVERGENCE: REL_REDUCTION_OF_F <= FACTR*EPSMCH"
can anyone help?
###########################################################################
SK.FIT(XDATA=a,XDATAname="a",PHI1=1,v=5,vlo=2,vhi=300,phi2lo=.01)
[[1]]
[[1]]$par
[1] -0.01377906
2017 Oct 20
1
Error messages using nonlinear regression function (nls)
Hi
Keep your messages in the list, you increase your chance to get some answer.
I changed your data to groupedData object (see below), but I did not find any problem in it.
plot(wlg)
gives reasonable picture and I am not such expert to see any problem with data. Seems to me, that something has to be wrong with nlsList function.
> wheat.list <- nlsList(Prop ~ SSlogis(end,Asym, xmid,
2012 Feb 06
1
multiple comparisons in nested design
Dear professors and collegues
I need to perform a analysis of dates from a nested experimental design.
From
"Bioestatical Analysis" of Zar
"Bimetry of Sokal" & Rohlf
"Design and Analysis of Experiments" of Montgomery
I have:
Sum (mean(x)_i - mean(x)_T)2 / (a-1) -> var(epsilon) + n sigma2_B + n b
(sum alfa_i)2 / (a-1)
Sum (mean(x)_ij - mean(x)_i)2 /
2010 Nov 03
1
Tukey's table
Hi,
I'm building Tukey's table using qtukey function.
It happens that I can't get the values of Tukey's one degree
of freedom and also wanted to eliminate the first column.
The program is:
Trat <- c(1:30) # number of treatments
gl <- c(1:30, 40, 60, 120) # degree freedom
tukval <- matrix(0, nr=length(gl), nc=length(Trat))
for(i in
2008 Feb 23
1
Error in ma.svd(X, 0, 0) : 0 extent dimensions
Hi,
I run a maanova analysis and found this message error:
Error in ma.svd(X, 0, 0) : 0 extent dimensions
I did a google search and found this:
\item ma.svd: function to compute the sigular-value decomposition
of a rectangular matrix by using LAPACK routines DEGSVD AND ZGESVD.
\item fdr: function to calculate the adjusted P values for FDR control.
I did a search for LAPACK and
2011 Feb 16
1
Hartley's table
Hi,
I used the commands below to make Hartley's table,
but some values are NA.
require(SuppDists)
trat = seq(2, 15, 1)
gl = seq(2, 40, 1)
har = matrix(0, nr=length(gl), nc=length(trat))
for(i in 1:length(gl))
for(j in 1:length(trat))
har[i,j] <- qmaxFratio(.95, df=gl[i], k=trat[j])
rownames(har) <- gl
colnames(har) <- trat
head(har)
The output (head):
2
2008 Mar 10
1
state space model for poisson distribution
Hi Rers,
I have a poission time series model with 5 parameters. I just wanted to remove two of the lag on response in the model and put it as a system model. I am not sure about the codes to combine these two on R. If anybody has any R example (code), please post it.
My original model: log(Y(t))~constant+b1*Y(t-1)+b2*Y(t-2)+b3*(variable1)+b4*(variable2)+e
I would like to construct a
2006 Jul 27
2
How to get the name of the first argument in an assignment function?
Dear All!
If I pass an object to an assignment function I cannot get it's name by
deparse(substitute(argument)), but I get *tmp* and I found no way to get
the original name, in the example below it should be "va1".
Is there a way?
Thanks,
Heinz
## example
'fu1<-' <- function(var, value) {
print(c(name.of.var=deparse(substitute(var))))}
fu1(va1) <- 3
name.of.var
2012 Apr 20
4
Problem with Tukey test
I'm new using R im trying to do a tukey test, but when i see the results the
p value results in NA im guessing its because i have missing values but im
not sure how to fix it
AnovaModel.2 <- aov(area ~ trat, data=apilados)
> summary(AnovaModel.2)
Df Sum Sq Mean Sq F value Pr(>F)
trat 4 11847 2961.76 9.9905 1.500e-06 ***
Residuals 76 22531 296.46
2010 Aug 09
1
Different colour in each bar in lattice package
Hi,
I try to plot bars with different colours in a barchart graphic. My idea
is make that all X-Levels from trat var with different colour (grey
scale). I search for a solution but dont find any.
Any help?
Thanks
dados <- structure(list(Medias = c(0.994169096209855, 0.99416342412449,
0.974683544303797, 0.954430379746835, 0.669047619047619, 0.999999998475569,
0.994163424124514,
2010 Feb 17
2
Split Plot and Tukey
Hi,
I did the analysis of variance of a split-plot and the
effect of treatment was significant.
I would like compare treatment means using Tukey.
I can't extract the mean square to apply HSD.test to use in
agricolae package.
anava = aov(ganhos ~ Blocos + Trat*Supl +
Error(Blocos/Trat))
names(anava)
summary(anava)
require(agricolae)
HSD.test(ganhos, Trat, df, MSerror, alpha = 0.05)
2020 Nov 15
2
lld error: output file too large <some large number>
Hi
I’m having a trouble linking a special program with lld and the above error is generated.
I narrowed it down to lld/Writer.cpp:getFileAlignment ().
(Well, my local repository is from a while back (version 10) and for me it is lld/Writer.cpp:computeFileOffset ())
Either way, where it is calculating the file offset when two sections share same PT_LOAD, the formula used is off2 = off1 + (VA2 –