Displaying 5 results from an estimated 5 matches for "eddieatr".
2012 Nov 19
6
How to subset my data and at the same time keep the balance?
Hi guys,
I have 1000 rows of a dataset. In my analysis, I need 70% of the data,
run my analysis and then use the remaining 30% to test my model.
Could anybody kindly help me on this?
Cheers
2012 Feb 13
1
for loop
Hi guys,
This is a very beginner question. Anybody willing to help?
for(i in 1:1000)
x=29.5 + i/500
y=2x
plot(y,x)
The idea is to produce 1000 values of x and y then plot them.
Cheers,
Eddie
[[alternative HTML version deleted]]
2012 May 28
1
need help in logistic regression
Hello everyone,
I tried to understand the relationship between temperature and the
death of an organism by using logistic regression.
glm(formula = Death ~ Temperature, family = binomial(link = "logit"),
data = mydata)
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -87.9161 7.7987 -11.27 <2e-16 ***
Temperature
2012 Sep 14
1
How to specify minimum and maximum x-axis value in logi.hist.plot?
Hi guys,
How could I specify minimum and maximum x-axis values in logi.hist.plot?
My code is something like this:
plot(mydata$Temperature,mydata$Mortality,
,xlab="Temperature",ylab="Probability of mortality")
curve(predict(temp.glm,data.frame(Temperature=x),type="resp"),add=TRUE,
col="red")
points(mydata$Temperature,fitted(temp.glm),pch=20)
2011 May 31
2
newbie: fourier series for time series data
Hi Guys,
I had a monthly time series's data of land temperature from 1980 to 2008.
After plotting a scatter diagram, it seems that annually, there is a semi
sinusoidal cycle. How do I run Fourier's series to the data so that I can
fit model on it?
I am really sorry for my question sound stupid, but I just don't know where
to start.
I am desperately looking for help from you guys.