similar to: Number of Days

Displaying 20 results from an estimated 200 matches similar to: "Number of Days"

2003 Oct 29
2
constrained OLS on coefficient
Hi, I would like to know if anyone has any idea of how to run an OLS with constraints? I need to contraint a coefficient estimate in the model equal to 1, and I am not sure how to include it into the OLS estimation... I was hoping to find something like "cnsreg" in STATA.. thank you Soyoko ______________________________________ Ms. Soyoko Umeno Graduate Research Assitant for the
2003 Nov 07
1
y label after axis (4)
Hi, I am trying to figure out how to lable the second y-axis after the following codes: plot(x, y, xlab="time", ylab="pay1" ) par(new=TRUE) plot(x,y2, ann=FALSE, xaxt="n", yaxt="n", pch=7 ) axis(4) Then, I want to label the second y axis "pay2". I tried "title(ylab="pay2")", but it put this lable on the first
2003 Oct 30
0
Variance of a non-linear combination of the coefficient e stiamtes
< In Stata, I can just use "bs" function ...> in STATA the bs command runs a bootstrap If you want to use the bootstrap function (or you could linearize b*c/a :) look under ?boot (you may need to load the package first). Usage: boot(data, statistic, R, sim="ordinary", stype="i", strata=rep(1,n), L=NULL, m=0, weights=NULL,
2003 Oct 29
0
constrained OLS
Hi, I would like to know if anyone has any idea of how to run an OLS with constraints? thank you Soyoko ______________________________________ Ms. Soyoko Umeno Graduate Research Assitant for the Illinois-Missouri Biotechnology Alliance (IMBA) at http://www.imba.missouri.edu/ Ph.D. Student at the Department of Agricultural and Consumer Economics at the University of Illinois at Urbana-Champaign
2003 Oct 30
0
Variance of a non-linear combination of the coefficient estiamtes
Hi, I would like to know if anyone knows how to compute a variance of the non-linear combination of the coefficient estimates. Say, I get a model of y~c+ax+bz (1) where x and z are the independent variables, c is the constant estimate, and a and b are the coefficient estimates. Then, I want to know the variance of b*c/a (2). How am I going to get it? In Stata, I can just use
2004 Jul 20
4
read a file
Hi everyone, I am having a problem reading my data file in R. It only reads part of it, and stops doing it in half way through the data. I looked at the observation where reading stops, but it is really not different from the observations read it. I expanded the matrix size, but it did not help. I am using a text format to read the data file. Could someone help me? Thank you Soyoko
2009 Oct 26
3
as.POSIXct month problem
Hi everybody When I try example of strptime x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960") z <- strptime(x, "%d%b%Y") The result is; > z [1] NA NA NA NA I have got the same result with complete form of month but not with numeric form. Any idea? [[alternative HTML version deleted]]
2006 May 20
2
Function as.Date leading to error implying that strptime requires 3 arguments
I'm using R V 2.2.1. When I try an example from the as.Date help page, I get an error. > x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960") > z <- as.Date(x, "%d%b%Y") Error in strptime(x, format) : 2 arguments passed to 'strptime' which requires 3 > Any suggestions would be appreciated. Thanks, Rob
2006 Apr 24
2
Change the language of the labels in a graph
Hello, How do you change the language of the labels in a graph. In this example, I want to get French labels by changing Sys.putenv. I should get "Mai" instead of "May". Sys.putenv(LANGUAGE="fr") x <- as.Date(c("1jan1960", "2jan1960", "31mar1960", "30jul1960"), "%d%b%Y") y <-1:4 plot(x,y) Regards, Pierre
2003 Nov 07
3
Two Y-axises and One X-axis
Hi, I would like to know if anyone knows how to draw a plot with two Y-axises and one X-axis? When you have two sets of y values that do not have the same scale, but correspond to the same x value, I would like to plot them on one graph. Could you please help me? Thank you Soyoko
2001 Jan 11
2
problem with strptime example (PR#811)
On Thu, 11 Jan 2001 stephen@anc.ed.ac.uk wrote: > Hi, > > The help file for strptime has the following code which doesn't work > for me: > > ## read in date info in format `ddmmmyyyy' > x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960") > z <- strptime(x, "%d%b%Y") > > z > [1]
2001 Oct 01
2
problem with strptime example (PR#811)
Hello, strptime is still not working correctly in my computer (Windows 98 and R Version 1.3.1) From x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960") strptime(x, "%d%b%Y") I obtain [1] "NA" "NA" "NA" "NA" while x <- c("01011960", "02011960", "3131960",
2000 Jul 01
1
No subject
Dear friends. Library Date was updated recently. I do not remember having seen the error below until now ? The plot title is made appropriately but the error message may be annoying, right ? I use version 1.1 on windows 98. library(date) tt <- as.date(c("1jan1960", "2jan1960", "31mar1960", "30jul1960")) plot(tt,c(1:4),main="How's that ?")
2000 Jul 01
1
No subject
Dear friends. Library Date was updated recently. I do not remember having seen the error below until now ? The plot title is made appropriately but the error message may be annoying, right ? I use version 1.1 on windows 98. library(date) tt <- as.date(c("1jan1960", "2jan1960", "31mar1960", "30jul1960")) plot(tt,c(1:4),main="How's that ?")
2004 Apr 22
1
as.Date
Hi. I'm sure this is a complete green-horn question. I apologize. I'm trying to use as.Date *exactly* as shown on p. 194 of the manual (code fragment and error message pasted below). Is there some kind of "include" or "import" statement that I need to issue? Thank you very much for saving what remains of my hair. > x <- c("1jan1960",
2006 Apr 15
1
strptime failure R 2.2.1 (PR#8773)
Full_Name: Bill Hutchison Version: 2.2.1 OS: Windows XP Submission from: (NULL) (69.158.121.13) example(strptime) produces the following error: Error in strptime(x, "%d%b%Y") : 2 arguments passed to 'strptime' which requires 3 This error occurs wherever strptime is used. It does not occur in 2.2.0
2004 Sep 03
2
strptime problems
Hi, I'm experiencing a problem with strptime. (R 1.9.1 on a Win2000 machine) I have a large list containing 6 columns and 161800 rows. One column contains dates that I want to convert in order to compare the different dates. Some dates work just fine while others become NA. I don't see any difference between the dates. I've attached an example from my code. Hope this explains my
2001 Jan 11
0
problem with strptime example (and mention of bug.report) (PR#811)
Hi, The help file for strptime has the following code which doesn't work for me: ## read in date info in format `ddmmmyyyy' x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960") z <- strptime(x, "%d%b%Y") > z [1] "NA" "NA" "NA" "NA" Do these work for other people?
2017 Dec 02
2
gluster and nfs-ganesha
HI, I'm using CentOS 7.4 with Gluster 3.10.7 and Ganesha NFS 2.4.5. I'm trying to create a very simple 2 nodes cluster to be used with NFS-ganesha. I've created the bricks and the volume. Here's the output: # gluster volume info Volume Name: cluster-demo Type: Replicate Volume ID: 9c835a8e-c0ec-494c-a73b-cca9d77871c5 Status: Started Snapshot Count: 0 Number of Bricks: 1 x 2 = 2
2004 Feb 27
14
BIOS disk geometry and Linux 2.6
I am working on a Linux-based boot disk for my project (http://unattended.sourceforge.net/), and I have hit a snag. Under Linux 2.6, the kernel (via HDIO_GETGEO) always reports the C/H/S geometry of an IDE drive as X/16/63. But most BIOSes want to use the geometry Y/255/63. Most partitioning tools (including Parted) will take clues from an existing partition table and adapt to the BIOS values.