Displaying 20 results from an estimated 100 matches similar to: "cv.lm syntax error"
2013 Jun 04
1
How to write a loop in R to select multiple regression model and validate it ?
I would like to run a loop in R. I have never done this before, so I would be
very grateful for your help !
1. I have a sample set: 25 objects. I would like to draw 1 object from it
and use it as a test set for my future external validation. The remaining 24
objects I would like to use as a training set (to select a model). I would
like to repeat this process until all 25 objects are used as a
2000 May 22
1
Inconsistencies (PR#550)
Dear all,
I was playing around with some C-code that I dynamically linked to R
and noticed the following inconsistency:
> dat <- matrix(1,3,3)
> is.double(dat)
[1] TRUE
> is.integer(dat)
[1] FALSE
> dat <- matrix(1:9,3,3)
> is.double(dat)
[1] FALSE
> is.integer(dat)
[1] TRUE
How did I find out? I passed `dat' to a double * in the C-code and
printed out the matrix
2010 Jan 10
2
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Dear Anton,
Thank you again for your help!
I tried with the following options (adding --with-cpu=arm7tdmi and
using binutils from cvs snapshot):
../llvm-gcc4.2-2.6.source/configure
--prefix=/usr/local/cross-llvm-gcc-arm-elf-4.2-2.6
--program-prefix=llvm-
--enable-llvm=/Users/dummy/Develop/llvm/llvm-build
--enable-languages=c,c++ --host=i686-apple-darwin9
--build=i686-apple-darwin9
2010 Jan 10
0
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Hello, Pazzo
> Any clue?
Yes. Sorry, my fault - next time I should check ARM docs before replying.
ARM7TDMI is ARMv4T and this is not supported by LLVM (LLVM does v5+ codegen).
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2007 Jun 29
1
Print grid/ggplot to a metafile
Dear UseRs called Hadley, or Paul,
I am trying to print an edited ggplot2/grid graphics to a metafile. With the
commented line below it works, but when I edit the plot by uncommenting the
line, it fails, because it's illegal to have 2 graphics in a metafile. It
works with pdf, but even then I get two plots, which is a nuisance.
I found a workaround by using windows(); savePlot, but it only
2006 Nov 22
9
Way to interpolate a variable sent to $()
Hello all,
I''m new to prototype and javascript isn''t my strong point. I''m trying
to get a simple test script to work, which is turning out to be a
little harder than I thought. I have a bunch of fields that I need to
be able to switch on and off using one of a few hashes. In the example
below I''m trying to get one to work.
The problem occurs when I try to
2010 Jan 10
1
[LLVMdev] building a llvm-arm-elf crosscompiler on OSX 10.5
Dear ML,
Anton, Thank you for your answer and your help.
I had a look at ARM.td of LLVM 2.6 (in lib/Target/ARM..) where I found
following definitions:
// V4T Processors.
def : ProcNoItin<"arm7tdmi", [ArchV4T]>;
def : ProcNoItin<"arm7tdmi-s", [ArchV4T]>;
def : ProcNoItin<"arm710t", [ArchV4T]>;
def :
2003 Sep 03
3
Pointer to upgrade 7960sip beyond v3.2.0?
Slightly off topic, but maybe some can suggest something off list...
Trying to upgrade a 7960 that was running skinny. I've got sip v3.2.0
installed and running, and am able to place calls via *, etc.
However, when upgrading to v4.4.0 I can never get to the point of
being able to place a call (eg, no dialtone, etc). I can ping the
phone, look at the Network Config, etc, but I can't
2009 Feb 25
2
1/2 OFF-TOPIC: How to use CLVM (on top AoE vblades) instead just plain LVM for Xen based VMs on Debian 5.0?
Guys,
I have setup my hard disc with 3 partitions:
1- 256MB on /boot;
2- 2GB on / for my dom0 (Debian 5.0) (eth0 default bridge for guests LAN);
3- 498GB exported with vblade-persist to my network (eth1 for the AoE
protocol).
On dom0 hypervisor01:
vblade-persist setup 0 0 eth1 /dev/sda3
vblade-persist start all
How to create a CVLM VG with /dev/etherd/e0.0 on each of my dom0s?
Including the
2001 Mar 26
2
Lotus Notes Client 5.04 Internet Exlorer is needet
Hello
When I start my Lotus Client it asks me allways for the Internet Explorer
version 3.0 or higher but I cant Install the Internet Explorer 5.x.
Is there a workaround to fix this problem? Wich version of IE ist
installable?
Thanks
Roman
2005 Dec 30
11
Losing my mind with Ajax link_to_remote
I''m playing around with Rails, and I can''t get this to work. I just
can''t seem to wrap my brain around it. I''m having some trouble doing an
Ajax navigation column. Here''s what I have:
view layout:
<div id="navigation">
<%= render(:partial => "navigation", :collection => @categories) %>
</div>
My
2013 Apr 19
0
Returning "overall ms" for CVlm
Hi All, when doing CVlm cross validation, I would just like to view the
overall MS but i am having trouble getting just this value. I'm kina new to
R.
Any help really appreciates.
Cheers,
Ben
--
View this message in context: http://r.789695.n4.nabble.com/Returning-overall-ms-for-CVlm-tp4664690.html
Sent from the R help mailing list archive at Nabble.com.
2013 Mar 28
0
using cvlm to do cross-validation
Hello,
I did a cross-validation using cvlm from DAAG package but wasn't sure how to assess the result. Does this result means my model is a good model?
I understand that the overall ms is the mean of sum of squares. But is 0.0987 a good number? The response (i.e. gailRel5yr) has min,1st Quantile, median, mean and 3rd Quantile, and max as follows: (0.462, 0.628, 0.806, 0.896, 1.000, 2.400) ?
2013 Feb 15
0
CVlim
Can anyone help explain to me why the two codes below have different result? I thought I can use log(time)~. to replace log(time)~dist+climb+timef.I am using CVlm from DAAG package. I think nihills is preloaded with the package. Thanks in advance.
> CVlm(df=nihills, form.lm=formula(log(time)~.),plotit="Observed",m=2)Analysis of Variance Table
Response: log(time) Df Sum Sq
2020 May 06
1
[PATCH v5] iommu/virtio: Use page size bitmap supported by endpoint
On Tue, May 05, 2020 at 03:00:04PM +0530, Bharat Bhushan wrote:
> Different endpoint can support different page size, probe
> endpoint if it supports specific page size otherwise use
> global page sizes.
>
> Signed-off-by: Bharat Bhushan <bbhushan2 at marvell.com>
> ---
> v4->v5:
> - Rebase to Linux v5.7-rc4
>
> v3->v4:
> - Fix whitespace error
>
2007 May 12
0
There might be something wrong with cv.lm(DAAG)
Hi, everyone
When I was using cv.lm(DAAG) , I found there might be something wrong with
it. The problem is that we can't use it to deal with a linear model with
more than one predictor variable. But the usage documentation
hasn't informed us about this.
You can find it by excuting the following code:
xx=matrix(rnorm(20*3),ncol=3)
bb=c(1,2,0)
yy=xx%*%bb+rnorm(20,0,10)
2007 May 21
0
Is this a bug in cv.lm(DAAG) ?
Dear R-list,
I'm not sure what I've found about a function in DAAG package is a bug.
When I was using cv.lm(DAAG) , I found there might be something wrong with
it. The problem is that we can't use it to deal with a linear model with
more than one predictor variable. But the usage documentation
hasn't informed us about this.
The code illustrates my discovery:
> library(DAAG)
2010 Jul 05
0
R squared from cv.lm
Hello,
I used the cv.lm function to validate a linear regression model
fit<-lm(y ~ x1+x2+x3+x4+0, data=mydata) without intercept
I tried to validate the model by performing a leave one out cross validation
procedure usinfg the cvlm function:
CVlm(df=mydata, fit, m=196)
But how can I get the adjusted R? from the output of this function.
Or is there any other function to
2012 Jan 18
0
examine grouped data lmList
Dear community,
I'm trying to examine my grouped data following page 6
http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-mixed-models.pdf.
I'm trying lmList this way:
model.list <- lmList(log(v.dep) ~ log(v2) +log(v4) + v3 | v5, subset =
v6=0, data=data)
and obtain this error message: In Ops.factor(v4, v4) : | not meaningful for
factors
My original model is
2011 Mar 16
0
cross validation? when rlm, lmrob or lmRob
Dear community,
I have fitted a model using comands above, (rlm, lmrob or lmRob). I don't
have new data to validate de models obtained. I was wondering if exists
something similar to CVlm in robust regression. In case there isn't, any
suggestion for validation would be appreciated.
Thanks, user at host.com
--
View this message in context: