Displaying 20 results from an estimated 300 matches similar to: "Cubic B-spline, how to numerically integrate?"
2010 May 13
1
GAM, GAMM and numerical integration, help please
I am trying to apply methods used by Chaloupka & Limpus (1997) (
http://www.int-res.com/articles/meps/146/m146p001.pdf) to my own turtle
growth data.
I am having trouble with two things...
1) After the GAM is fit, the residuals are skewed.
>m1 <- gam(growth~s(mean.size,
bs="cr")+s(year,bs="cr",k=7)+s(cohort,bs="cr")+s(age,bs="cr"),
data=grow,
2012 Sep 27
0
Retrieve initial content of files when using audit => content
Hi,
I want to audit some files on content and planned to do this with puppet
filebucket. Lets say for example that I have a list of audit_files as a
parameter from puppet dashboard with a list of files to audit.
Output from ENC for this particular parameter:
audit_files: "[\"/etc/passwd\",\"/etc/resolv.conf\", \"/tmp/mawi\",
2009 Mar 27
0
Limpus
I'm new to all this Linux stuff and looking to download Wine.
Is there a version that I should choose for Limpus?
1998 Jul 14
1
smbstatus show open files when none are
I recently (a few weeks ago) installed 1.9.18p8 in order
to get better performance with an Access Database, which along
with adding a TCP_NODELAY in the [global] section has that
working like a charm. Thing that's bugging me now is smbstatus.
When I run it I see open files listed when I know that they aren't.
The following output shows quite a few files open that aren't
really. The
2007 Apr 27
1
error returned by "make check" in R-2.5.0
Today I tried to install the R-2.5.0 (currently running R-2.4.1) on
Mandriva Linux. The ./configure and make commands seem to run fine,
but "make check" gives the following messages:
running regression tests
make[3]: Entering directory `/home/ethomp04/R-2.5.0/tests'
running code in 'reg-tests-1.R' ...make[3]: *** [reg-tests-1.Rout] Error 1
make[3]: Leaving directory
2004 Jul 23
2
Complex Surveys...Specifying Design
I need some guidance from someone who is familiar/has some experience with
the survey package.
The data that I am using is from the Medical Expenditure Panel Survey
(www.meps.ahrq.gov <http://www.meps.ahrq.gov/> ). The STRATA and PSU
variables are varstr01 and varpsu01 respectively. When I try to specify
them with the svydesign function I get an error message. An excerpt of my
session
2012 May 16
2
where is the struct RSA defined??
In the source code of openssh(my source code is 6.0 for Openbsd??
The content below is Rsa.h
#ifndef RSA_H
#define RSA_H
#include <openssl/bn.h>
#include <openssl/rsa.h>
void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *);
int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
void rsa_generate_additional_parameters(RSA *);
#endif /* RSA_H */
Question:
2000 Sep 15
3
R on HP-UX, again: modreg.sl fails, 1 arith test fails
I want to report the progress of my attempts to get R running on HP-UX
with gcc:
Firstly, I could work around the PIC problem by leaving out all the lib stuff
(I rebuilt gcc with --enable-share, but this (alone) did not help), e.g. the
line
gcc -shared -fPIC -o ctest.sl ansari.o fexact.o kendall.o ks.o prho.o swilk.o -L/usr/local/lib -lg2c
-lm -L/lib/pa1.1 -L/usr/lib/pa1.1 -u main
2008 Oct 14
1
System.MissingMethodException: Method not found: Int32
I've installed ADAM interactive anatomy 4.0 on Ubuntu using wine 1.1.6 and winetricks to install dot net 1.1. ADAM is a dot net application.
After installation and offline activation (online fails), the application starts, but gives the error:
Code:
System.MissingMethodException: Method not found: Int32
SkySoftware.FileViewControl.FileView.get_SelectedCount().
at a.a.c.a.a.h.b()
at
2010 May 17
0
GAM vs. GAMM, how to model increasing error variance?
I fit a GAM to turtle growth data using mgcv:
>m1 <- gam(growth~s(mean.size,
bs="cr")+s(year,bs="cr",k=7)+s(cohort,bs="cr")+s(age,bs="cr"), data=grow,
family=quasi(link="identity"))
The errors are skewed (and seem to be correlated with age) (code and plots
here:
2001 Oct 29
1
wine on Mandrake 8.1
Hi,
I have installed wine on Mandrake 8.1 (the RPM from the Mandrake CD), fixed
the ~/.wine/config file (man wine.conf) but the wine still does not work.
If I run what-ever application it does nothing, if I leave it long enough,
it displays this....
[mypc]#wine notepad
err:ntdll:RtlpWaitForCriticalSection Critical section 0x4011a610 wait timed
out, retrying (60 sec) fs=024f
2012 Jul 02
4
Removing rows if certain elements are found in character string
I would like to remove rows from the following data frame (df) if there are
only two specific elements found in the df$ch character string (I want to
remove rows with only "0" & "D" or "0" & "d"). Alternatively, I would like
to remove rows if the first non-zero element is "D" or "d".
1999 Apr 29
1
R-0.64.0 installation on SGI IRIX 6.5 machine
Hi,
I am trying to install R-0.64.0 version on SGI machine running
IRIX 6.5.
Machine details:
319 <mind.krasnow.gmu.edu:R-0.63.3> uname -a
IRIX64 mind 6.5 07271714 IP27
Configure script runs fine and the output at the end of configure is:
R is now configured for mips-sgi-irix6.5
Source directory: /usr/local/R-0.64.0
Installation directory: /usr/local
C compiler:
2010 Sep 26
1
Basis functions of cubic regression spline in mgcv
I have a question about the basis functions of cubic regression spline in
mgcv. Are there some ways I can get the exact forms of the basis functions
and the penalty matrix that are used in mgcv? Thanks in advance!
Yan
[[alternative HTML version deleted]]
2011 Oct 27
1
Fitting Maximums of data series with cubic spline
Hi Users,
I want to fit the maximums of a data series with a cubic spline. How do I
go about this in R.
I failed to figure out how I can use the mgcv library to do this.
Thanks
----------------------------
ZABLONE
2013 Nov 01
0
Impose constraint on first order derivative at a point for cubic smoothing spline
Hello,
Dr. Simon Wood told me how to force a cubic spline passing through a
point. The code is as following. Anyone who knows how I can change the code
to force the first derivative to be certain value. For example, the first
derivative of the constrained cubic spline equals 2 at point (0, 0.6).
I really appreciate your help!
Thanks!
Best
Victor
2008 Oct 10
1
how to evaluate a cubic Bezier curve (B-spline?) given the four control points
I'm trying to use R to determine the quality of a cubic Bezier curve
approximation of an elliptical arc. I know the four control points
and I want to compute (x,y) coordinates of many points on the curve.
I can't find anything in either the base distribution or CRAN that
does this; all the spline-related packages seem to be about *fitting*
piecewise Bezier curves to a data set.
2010 Apr 09
1
How to get the penalty matrix for natural cubic spline?
Hi, all
I am trying to get the basis matrix and penalty matrix for natural
cubic splines. In the "splines" package of R,"ns" can
generate the B-spline basis matrix for a natural cubic spline. How can
I get the basis matrix and penalty matrix for natural cubic
spline.
Thanks a lot!
Lee
[[alternative HTML version deleted]]
2011 Mar 18
0
adding a cubic spline to a model
@font-face {
font-family: "?? ??";
}@font-face {
font-family: "Verdana";
}@font-face {
font-family: "Verdana";
}@font-face {
font-family: "Monaco";
}p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: Verdana; }.MsoChpDefault { font-family: Cambria; }div.WordSection1 { page: WordSection1; }
2003 Feb 28
0
How do I find the first derivative from the cubic natural spline
Hi, Everyboday,
Does anybody know how to get the first derivative form the cubic natural
spline matrix?
Thanks !!!
Jassy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nuoo-Ting (Jassy) Molitor, MS, Junior Statistician
Division of Biostatistics
Department of Preventive Medicine
University of Southern California Tel: (323) 442-2584
1540 Alcazar St., CHP-210F Fax: