Displaying 20 results from an estimated 200 matches similar to: "need help: regression models"
2006 Jun 25
1
help with contrasts.
Hello list,
I would like to know how can I use contrats in statistical analysis. I
have a simple model, "one-way analysis of variance" "or two-way..."
(balanced case).
I've already used the command aov (model) to get the analysis of
variance, but i know that my treatment could be organized in groups,
so i would like to test these groups.
Example: I have 4 treatments t1,
2013 Feb 06
2
Omitting repeated occurrence in a string
Hello again,
I was looking for some way on How to delete repeated appearance in a
String. Let say I have following string:
Text <- "ahsgdvasgAbcabcsdahj"
Here you see "Abc" appears twice. But I want to keep only 1
occurrence. Therefore I need that:
Text_result <- "ahsgdvasgAbcsdahj" (i.e. the first one).
Can somebody help me if it is possible using some R
2009 Mar 11
1
prediction error for test set-cross validation
Hi,
I have a database of 2211 rows with 31 entries each and I manually split my
data into 10 folds for cross validation. I build logistic regression model
as:
>model <- glm(qual ~ AgGr + FaHx + PrHx + PrSr + PaLp + SvD + IndExam +
Rad +BrDn + BRDS + PrinFin+ SkRtr + NpRtr + SkThck +TrThkc +
SkLes + AxAdnp + ArcDst + MaDen + CaDt + MaMG +
MaMrp + MaSh +
2008 Aug 11
1
help on model selection - step()
dears R-users,
I'm interested in model selection problem, and i have faced some problems
that i would like to ask for help.
well,
this is a very small example with 4 variable (just one var. is the response
- z) with 100 individuals
i would like to do a stepwise search, for the "best" model, and a use BIC
criteria.
I know when I have a lot of variables, let's say 120, I know,
2007 Dec 12
0
OpenSUSE 10.3 HVM installer ATA difficulties
I''ve been trying to install OpenSUSE 10.3 as an HVM guest without much
success. I''ve been using the mini network installation image
`openSUSE-10.3-GM-i386-mini.iso''.
First I had to binary-edit the iso to turn off gfxboot, which breaks
with current xen-unstable. (In theory you can turn off gfxboot by
holding down shift but it is almost impossible to get the timing
2003 Jul 17
2
i need help in cluster analyse
Hello,
My name is Rodrigo, I am using R program and I have a trouble.
I am trying to do a dendrogram with genetics information.
Let me explain...
The Similarity Matrix was already did, and with this matrix I want to construct a dendrogram.
So, the distance is done. I need to transform this matrix (that I have) in a dendrogram,
I woud be very grateful if someone could help me.
PS: I am sending
2005 Jan 29
1
Bootstrapped eigenvector
Hello alls,
I found in the literature a technique that has been evaluated as one of the
more robust to assess statistically the significance of the loadings in a
PCA: bootstrapping the eigenvector (Jackson, Ecology 1993, 74: 2204-2214;
Peres-Neto and al. 2003. Ecology 84:2347-2363). However, I'm not able to
transform by myself the following steps into a R program, yet?
Can someone could help
2002 Aug 22
3
correlation
Dear All,
I have a file (a matrix) on which I have to compute the correlations.
The function "cov" compute the correlations
between the columns of a matrix, but I want to compute the correlations
between the raws.
Can somebody say to me how I can carry out that?
Thanks
Laurence
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
2000 May 30
6
heap size trouble
Hi ,
I ''ve got a trouble with using R.
When I want to load a file that contains 93 thousand raws and 22 colums
of data (essentially float)
R shows me this error message
"heap size trouble"
Does anyone could tell me what parameter shall I precise before
launching R in order to load my big file.
Thanks a lot
-------------- next part --------------
A non-text attachment was
2005 Jul 21
3
Stupid hold music
Does anyone have a collection of stupid hold music? Y'know, the sort of
thing that would drive a person mad? Silly songs, repetative tunes etc?
The best I can come up with is;
I know a song that drives everyone up the wall
I know a song that drives everyone up the wall
I know a song that drives everyone up the wall
And this is how it goes
I know a song that drives everyone up the wall
I
2003 Dec 27
1
Heads up: Does this affect FreeBSD's tcpdump?
Subject: user/3610: repetable tcpdump remote crash
Resent-Date: Sat, 20 Dec 2003 08:55:02 -0700 (MST)
Resent-From: gnats@cvs.openbsd.org (GNATS Filer)
Resent-To: bugs@cvs.openbsd.org
Date: Sat, 20 Dec 2003 16:42:25 +0100 (CET)
From: venglin@freebsd.lublin.pl
Reply-To: venglin@freebsd.lublin.pl
To: gnats@openbsd.org
>Number: 3610
>Category: user
>Synopsis: repetable
2003 Nov 07
2
Differents config files
Hi!
I am trying to know well asterisk. For that I would like to know the exact role
for each config file. Can someone tell me what is the role of the next ones or
a web where I could find this information? That will be very helpful.
- alsa.conf
- enum.conf
- modem.conf
- modules.conf
- oss.conf: what is oss?
- parking.conf: what is parking?
- rpt.conf: what is radio repeter?
- queues.conf
-
2008 May 07
6
help with the unique function
Hi,
The unique function is easy to understand and use. Beyond that, I want to get also the frequency of repetition of each individual row in a data frame
Let me explain with an example :
x<-data.frame(a=c(1,2,3,1,2),b=c(2,3,4,2,3),c=c(10,20,30,10,20))
xu<-unique(x)
We have,
> x
? a b? c
1 1 2 10
2 2 3 20
3 3 4 30
4 1 2 10
5 2 3 20
> xu
? a b? c
1 1 2 10
2 2 3 20
3 3 4 30
I want to get
2008 Jun 06
1
calling a C function with a struct
I am trying to call a precompiled C function that uses a struct as one of
it's arguments.
I could write a wrapper function in C, but I was hoping there is some way
to
pack fields into an array of type raw that could be passed directly to the
function.
Here is some more detail. The C struct is simple, but has mixed types:
struct STRUCT1 {
long type;
long nx;
double
2018 Apr 05
2
Obtain gradient at multiple values for exponetial decay model
Readers,
Data set:
t,c
0,100
40,78
80,59
120,38
160,25
200,21
240,16
280,12
320,10
360,9
400,7
graphdata<-read.csv('~/tmp/data.csv')
graphmodeld<-lm(log(graphdata[,2])~graphdata[,1])
graphmodelp<-exp(predict(graphmodeld))
plot(graphdata[,2]~graphdata[,1])
lines(graphdata[,1],graphmodelp)
Please what is the function and syntax to obtain gradient values for the model curve at
2018 Apr 05
0
Obtain gradient at multiple values for exponetial decay model
This smells like homework, which the Posting Guide indicates is off topic.
I am not aware of "the function" that will solve this, but if you know what a gradient is analytically then you should be able to put together a solution very similar to the code you already have with the addition of using the coef function.
--
Sent from my phone. Please excuse my brevity.
On April 5, 2018
2018 Apr 06
0
Obtain gradient at multiple values for exponetial decay model
Try
coef( graphmodeld )
And you don't need to approximate if you use the newdata argument to the predict function.
I think reading the "Introduction to R" that comes with R would help.
--
Sent from my phone. Please excuse my brevity.
On April 5, 2018 2:00:45 PM PDT, g l <gnulinux at gmx.com> wrote:
>> Sent: Thursday, April 05, 2018 at 4:40 PM
>> From:
2018 Apr 06
0
Obtain gradient at multiple values for exponetial decay model
> On Apr 5, 2018, at 2:00 PM, g l <gnulinux at gmx.com> wrote:
>
>> Sent: Thursday, April 05, 2018 at 4:40 PM
>> From: "Jeff Newmiller" <jdnewmil at dcn.davis.ca.us>
>>
>> the coef function.
>>
>
> For the benefit of other novices, used the following command to read the documentation:
>
> ?coef
>
> Then tried and
2013 Feb 08
1
Merging and Updating Data Frames with Unequal Size
Dear All,
I am trying to merge 2 dataframes of with different sizes.
Let's say that one dataframe R contains some raw data and another data
frame F contains the information to fix R.
For instance
F <- data.frame(cbind(x=-seq(10),
y=1:10,
z=3:12,
w=8:17,
p=18
))
R <-
2012 Sep 18
13
pg gem error
gem install pg give the following error, please help how can i solve this
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/home/saravanan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
checking for libpq-fe.h... yes
checking for