Displaying 20 results from an estimated 135 matches for "hasselman".
2017 Sep 16
2
require help
...ncm wlth
1980-01-01 1980 173.6527 53.3635 60.3013
1981-01-01 1981 175.4613 53.6929 60.4980
1982-01-01 1982 174.5724 53.4890 60.2358
1983-01-01 1983 171.5070 53.2223 60.1047
1984-01-01 1984 173.3462 53.2851 60.6946
1985-01-01 1985 171.7075 53.1596 60.7598
On Sat, Sep 16, 2017 at 9:55 AM, Berend Hasselman <bhh at xs4all.nl> wrote:
>
> > On 15 Sep 2017, at 11:38, yadav neog <yadavneog at gmail.com> wrote:
> >
> > hello to all. I am working on macroeconomic data series of India, which
> in
> > a yearly basis. I am unable to convert my data frame into time ser...
2017 Sep 24
2
gsDesign Pocock & OBF boundary
...? ? 0.0500?++alpha spending: Pocock boundary.*Sample size ratio compared to fixed design with no interim?
Can anyone share some light whether the above analysis is still valid? Or for unequal spacing, I have to use Lan-Demet?s error spending function approximations? Thank you,
From: Berend Hasselman <bhh at xs4all.nl>
To: array chip <arrayprofile at yahoo.com>
Cc: R-help Mailing List <r-help at r-project.org>
Sent: Friday, September 22, 2017 11:46 PM
Subject: Re: [R] gsDesign Pocock & OBF boundary
> On 23 Sep 2017, at 01:32, array chip via R-help <r-help at...
2019 Sep 12
2
Fw: Calling a LAPACK subroutine from R
On 11/09/2019 21:38, Berend Hasselman wrote:
> The Lapack library is loaded automatically by R itself when it needs it for doing some calculation.
> You can force it to do that with a (dummy) solve for example.
> Put this at start of your script:
>
> <code>
> # dummy code to get LAPACK library loaded
> X1 &l...
2017 May 10
3
registering Fortran routines in R packages
...FortEntries array and use R_useDynamicSymbols(dll, TRUE) for a dynamic search of Fortran routines.
Regards, Christophe
---------------------------------------
Christophe Dutang
LMM, UdM, Le Mans, France
web: http://dutangc.free.fr <http://dutangc.free.fr/>
> Le 9 mai 2017 ? 14:32, Berend Hasselman <bhh at xs4all.nl> a ?crit :
>
>
>> On 9 May 2017, at 13:44, Christophe Dutang <dutangc at gmail.com> wrote:
>>
>> Dear list,
>>
>> I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/...
2019 Sep 12
1
Calling a LAPACK subroutine from R
Followup:
I have checked my package nleqslv which uses dgemv only from Fortran, on Kubuntu 18.04 with the development version of R.
No errors or problems.
Berend
> On 12 Sep 2019, at 08:57, Berend Hasselman <bhh at xs4all.nl> wrote:
>
>
> I have tried what I proposed in a virtual Kubuntu 18.04 which uses gfortran 7.4.
> I used the latest development version of R.
>
> It worked just as on macOS.
>
> Berend
>
>
>> On 11 Sep 2019, at 22:07, G?ran Brostr?m &...
2017 Sep 16
0
require help
...3.3635 60.3013
> 1981-01-01 1981 175.4613 53.6929 60.4980
> 1982-01-01 1982 174.5724 53.4890 60.2358
> 1983-01-01 1983 171.5070 53.2223 60.1047
> 1984-01-01 1984 173.3462 53.2851 60.6946
> 1985-01-01 1985 171.7075 53.1596 60.7598
>
>
> On Sat, Sep 16, 2017 at 9:55 AM, Berend Hasselman <bhh at xs4all.nl> wrote:
>
>>
>> > On 15 Sep 2017, at 11:38, yadav neog <yadavneog at gmail.com> wrote:
>> >
>> > hello to all. I am working on macroeconomic data series of India, which
>> in
>> > a yearly basis. I am unable to convert...
2017 Sep 24
0
gsDesign Pocock & OBF boundary
...ock boundary.*Sample size ratio compared to fixed design with no
>interim?
>Can anyone share some light whether the above analysis is still valid?
>Or for unequal spacing, I have to use Lan-Demet?s error spending
>function approximations? Thank you,
>
>
>
> From: Berend Hasselman <bhh at xs4all.nl>
> To: array chip <arrayprofile at yahoo.com>
>Cc: R-help Mailing List <r-help at r-project.org>
> Sent: Friday, September 22, 2017 11:46 PM
> Subject: Re: [R] gsDesign Pocock & OBF boundary
>
>
>> On 23 Sep 2017, at 01:32, array c...
2017 Sep 16
0
require help
...E),
incm=rnorm(10,53,1), wlth=rnorm(10,60,1))
zdf
# R ts
zts <- ts(zdf[,-1], start=zdf[1,"year"])
zts
# turn data into a zoo timeseries and an xts timeseries
library(zoo)
z.zoo <- as.zoo(zts)
z.zoo
library(xts)
z.xts <- as.xts(zts)
z.xts
</code>
Berend Hasselman
> Yadawananda Neog
> Research Scholar
> Department of Economics
> Banaras Hindu University
> Mob. 9838545073
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and mor...
2013 Feb 26
3
Merging value labels into indicator variable.
I have a vaiable named NAM having value : 1,2,3,4,5,6,7,8,9. I want to
make an indicator variable that will take value 1 if NAM=7 or NAM=8 or
NAM=9. How can I do that?
I usually do: Var001<- ifelse(NAM==7,1,0) for the simplest case.
[[alternative HTML version deleted]]
2017 Sep 15
7
require help
hello to all. I am working on macroeconomic data series of India, which in
a yearly basis. I am unable to convert my data frame into time series.
kindly help me.
also using zoo and xts packages. but they take only monthly observations.
'data.frame': 30 obs. of 4 variables:
$ year: int 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 ...
$ cnsm: num 174 175 175 172 173 ...
$ incm:
2017 Sep 23
0
gsDesign Pocock & OBF boundary
...I have to use Lan-Demet?s error spendingfunction approximations? Thank you,
> [[alternative HTML version deleted]]
>
Your example code is a complete mess.
Do NOT post in html. This is a plain text mailing list.
Read the Posting Guide (https://www.r-project.org/posting-guide.html).
Berend Hasselman]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, se...
2017 Feb 09
3
Ancient C /Fortran code linpack error
In my package 'glmmML' I'm using old C code and linpack in the
optimizing procedure. Specifically, one part of the code looks like this:
F77_CALL(dpoco)(*hessian, &bdim, &bdim, &rcond, work, info);
if (*info == 0){
F77_CALL(dpodi)(*hessian, &bdim, &bdim, det, &job);
........
This usually works OK, but with an ill-conditioned data
2017 Jun 12
2
Possible with enableJIT function
...and memory used is 24495816"
[1] "nleqslv iteration 10 and memory used is 24495816"
</output>
My questions are
- is this a bug(let) in the JIT compiler?
- if it isn't what would need to be changed in nleqslv.R in the package source? (I haven't a clue)
regards
Berend Hasselman
My sessionInfo:
R version 3.4.0 (2017-04-21)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.5
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/...
2019 Feb 01
1
nlminb with constraints failing on some platforms
...relative difference: 1.816536e-12"
>> abs( opt$objective - f(xhat) ) < 1e-4 ## Must be TRUE
> [1] TRUE
>>
>
> for me. Maybe others can quickly run the above 7 lines and report ?
>
Identical result on R 3.5.2 on macOS 10.14.3 with the CRAN version of R.
Berend Hasselman
> Maybe there's something else unusual with your Linux
> distribution's libraries?
>
> I'm not an expert on these compiler flags; have you seen what
> the R-admin manual
> https://cran.r-project.org/doc/manuals/R-admin.html#Linux
> says about them?
>
> B...
2017 Sep 22
2
gsDesign Pocock & OBF boundary
Hi,
I am learning to use your gsDesign package!?I have a question about Pocock and OBF boundary. As far as Iunderstand, these 2 boundaries require equal spacing between interim analyses(maybe this is not correct?). But I can still use gsDesign to run an analysisbased on unequal spacing:?gsDesign(k=2,test.type=2,timing=c(0.75,1),alpha=0.05,sfu='Pocock')Symmetrictwo-sided group sequential
2019 Sep 11
4
Fw: Calling a LAPACK subroutine from R
...g the character parameter to
integer, and adding Jack Dongarra, Jeremy Du Croz, Sven Hammarling, and
Richard Hanson as authors of eha. And a Copyright note, all in the
DESCRIPTION file. Ugly but what can I do (except rewriting the Fortran
code in C with f2c)?
G?ran
On 2019-09-11 21:38, Berend Hasselman wrote:
>
> The Lapack library is loaded automatically by R itself when it needs it for doing some calculation.
> You can force it to do that with a (dummy) solve for example.
> Put this at start of your script:
>
> <code>
> # dummy code to get LAPACK library loaded
>...
2017 May 09
2
registering Fortran routines in R packages
Dear list,
I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics.
Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job:
2017 Jul 13
1
Question on Simultaneous Equations & Forecasting
.../or can contain linear approximations to non-linear relationships, e.g., production functions of the Cobb-Douglas type.
>
One can indeed sometimes approximate without too much harm. But not always.
Berend
> Best,
> Bernhard
>
> -----Urspr?ngliche Nachricht-----
> Von: Berend Hasselman [mailto:bhh at xs4all.nl]
> Gesendet: Donnerstag, 13. Juli 2017 10:53
> An: OseiBonsu, Frances
> Cc: Pfaff, Bernhard Dr.; r-help at r-project.org
> Betreff: [EXT] Re: [R] Question on Simultaneous Equations & Forecasting
>
> Frances,
>
> I would not advise Gauss-Seidel...
2017 Sep 22
2
require help
...01 1981 175.4613 53.6929 60.4980
>> 1982-01-01 1982 174.5724 53.4890 60.2358
>> 1983-01-01 1983 171.5070 53.2223 60.1047
>> 1984-01-01 1984 173.3462 53.2851 60.6946
>> 1985-01-01 1985 171.7075 53.1596 60.7598
>>
>>
>> On Sat, Sep 16, 2017 at 9:55 AM, Berend Hasselman <bhh at xs4all.nl> wrote:
>>
>>>
>>> > On 15 Sep 2017, at 11:38, yadav neog <yadavneog at gmail.com> wrote:
>>> >
>>> > hello to all. I am working on macroeconomic data series of India, which
>>> in
>>> > a yearly b...
2017 Dec 14
3
Errors in reading in txt files
On Thu, Dec 14, 2017 at 1:58 PM, Berend Hasselman <bhh at xs4all.nl> wrote:
>
>> On 14 Dec 2017, at 19:36, lily li <chocold12 at gmail.com> wrote:
>>
>> Hi R users,
>>
>> I have a question about reading from text files. The file has the structure
>> below:
>>
>> Time...