Displaying 16 results from an estimated 16 matches for "windspeed".
Did you mean:
wind_speed
2011 Oct 04
2
About stepwise regression problem
First of all, I have GAMs
noxd<-gam(newNOX~pressure+maxtemp+s(avetemp,bs="cr")+s(mintemp,bs="cr")+s(RH,bs="cr")+s(solar,bs="cr")+s(windspeed,bs="cr")+s(transport,bs="cr"),family=gaussian
(link=log),groupD,methods=REML)
Then I type " summary(noxd)". and show
Family: gaussian
Link function: log
Formula:
newNO2 ~ pressure + s(maxtemp, bs = "cr") + s(avetemp, bs = "cr") +
s(mintem...
2011 Sep 05
3
function censReg in panel data setting
Hello all,
I have a problem estimating Random Effects model using censReg function.
small part of code:
UpC <- censReg(Power ~ Windspeed, left = -Inf, right =
2000,data=PData_In,method="BHHH",nGHQ = 4)
Error in maxNRCompute(fn = logLikAttr, fnOrig = fn, gradOrig = grad,
hessOrig = hess, :
NA in the initial gradient
...then I tried to set starting values myself and here is the error what I
got:
UpC <- censReg(Pow...
2002 Nov 11
3
Wind roses
Are there any R function or packages that generate wind roses? These are
``star''-like plots that summarize the frequency, direction and magnigude
of windspeeds.
Thanks,
Matt
--
Matt Pocernich
University of Colorado - Denver
Department of Mathematics
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or &q...
2008 Aug 18
2
Using lag
Dear all,
I am having difficulties using the seemingly-simple function lag.
I have a dataframe with several weather variables (maxitemp,
windspeed, rainfall etc), and the response variable (admissions). The
dataset is fairly large (1530 observations). I simply want to model the
response against a lag of a couple of the explanatory variables, say
maxitemp and rainfall. I would like to look at lagtimes of 4 days, i.e.
4 observations. My datafra...
2003 Jun 19
1
lattice and Sweave
...vice open. Possibly related anomalies include the
fact that you end up with a theme set for the null device:
> names(lattice.theme)
[1] "null device" "postscript" "pdf"
which doesn't look right.
The chunk
<<>>=
library(lattice)
data(airquality)
windspeed<-equal.count(airquality$Wind, 4)
temperature<-equal.count(airquality$Temp, 4)
print(xyplot(Ozone~Solar.R|windspeed*temperature, data=airquality,
col="darkred"))
@
works fine, so I think the problem is related to using trellis.par.get
before setting a trellis device.
-thomas
2012 Dec 10
1
Marginal effects of ZINB models
...I am using the
same variables for both parts of the model, can anyone help me with R code
to compute overall marginal effects of each variable?
My model is specified as follows:
ZINB <- zeroinfl(Tot.Anglers ~ Location + Season + Daytype + Holiday.not +
CPUE + ShoreType + Access + Source.pop + WindSpeed + offset(beat_length),
dist="negbin", data=anglers)
Many thanks,
Jeremy
[[alternative HTML version deleted]]
2004 Mar 29
1
Interesting Behavior in plot()
I have a 2 by 226200 table, conveniently read in by read.table(), which
exhibits some strange behavior when plotted by plot(V1,V2). The general
pattern for the range of windspeeds, [0<V1<50] is as expected -- the wind
gust falls in the interval [V1<V2<65] except for certain values of V2.
For V2 == c(15,26,37,48,59), the V2 values are positioned at one-tenth of
the V1 (i.e., as if I had issued the command plot(0.1*V1,V2) for just
those values of V2 -- see att...
2011 Sep 22
1
negative binomial GAMM with variance structures
...one, but possibly multiple, variance structures, and I am starting by applying varPower to my temperature covariate. (Efuscus is my square root transformed response variable).
Here is the code I have for the gamm:
K1 <-(efuscus~s(mic, k=7) +temp +s(date)+s(For3k, k=7) + pressure+ humidity+ windspeed + year)
M17.4A <-gamm(K1, method="REML", family=negbin(c(1,10), data=efuscus, weights=varPower(form=~temp))
With my various versions of the script, the two error messages I have been getting repeatedly are: Error in eval(expr, envir, enclos) : object 'temp' not found, and Er...
2012 Feb 10
1
Need to aggregate large dataset by week...
..., but I figured just
having a week column may be easier. If someone wanted to show me how to
organize this data using a date function and aggregating by month that would
be useful too!
Here's an example of the data set, with only 5 of the variables and 10 of
8600 obs.:
week rainfall windspeed winddir temp oakdepth
1 1 0.20000000 0.89000 245.9200 1.150000 4.400000
2 1 0.00000000 0.84000 292.8800 1.190000 5.300000
3 1 0.20000000 0.74000 258.5400 1.360000 6.000000
4 1 0.00000000 0.93000 3.7000 1.430000 4.400000
5 1 0.200...
2017 Aug 28
3
Extracting subset from netCDF file using lat/lon and converting into .csv in R
I have a series of nertCDF files containing global data for a particular
variable, e.g. tmin/tmax/precipiation/windspeed/relative
humuidity/radiation etc. I get the following information when using
*nc_open* function in R:
datafile: https://www.dropbox.com/s/xpo7zklcmtm3g5r/gfdl_preci.nc?dl=0
File gfdl_preci.nc (NC_FORMAT_NETCDF4_CLASSIC):
1 variables (excluding dimension variables):
float prAdjust[lon,lat...
2017 Aug 28
0
Extracting subset from netCDF file using lat/lon and converting into .csv in R
...ou problem how to subset the netcdf file, how to write to the .csv file, or both?
-Roy
> On Aug 28, 2017, at 2:21 PM, Eeusha Nafi <eshad002 at gmail.com> wrote:
>
> I have a series of nertCDF files containing global data for a particular
> variable, e.g. tmin/tmax/precipiation/windspeed/relative
> humuidity/radiation etc. I get the following information when using
> *nc_open* function in R:
>
> datafile: https://www.dropbox.com/s/xpo7zklcmtm3g5r/gfdl_preci.nc?dl=0
>
> File gfdl_preci.nc (NC_FORMAT_NETCDF4_CLASSIC):
>
> 1 variables (excluding dimension va...
2013 Oct 28
0
"Optimization fail" error from fitdistr (Weibull distribution)
Hello everyone,
This is Kangmin.
I am trying to produce shape and scale of my wind data. My data is based on
wind speed frequency with 1km/hr increment. data is described below.
Windspeed (km/h) Frequency
1 351
2 147
3 317
4 378
5 527
6 667
7 865
8 970
9 987
10 907
11 905
12 642
13 1000
14 983
15 847
16 842
17 757
18 698
19 632
20 626
21 599
22 529
23 325
24 391
25 356
26 267
27 230
28 223
29 190
30 142
31 124
32 104
33 97
34 37
35 62
36 46
37...
2011 Sep 28
2
GAMs in R : How to put the new data into the model?
I have 5 GAMs ( model1, model2, model3, model4 and model5)
Before I use some data X(predictor -January to June data) to form a equation
and calculate the expected value of Y (predictand -January to June). After
variable selection, GAMs (Model 1)were bulit up! R-square :0.40
NOW, I want to use new X'( predictor -July - December data) and put into
Model 1, then get the expected value of Y'
2009 Feb 26
5
Download daily weather data
I'm writing a program that will tell me whether I should wear a coat,
so I'd like to be able to download daily weather forecasts and daily
reports of recent past weather conditions.
The NOAA has very promising tabular forecasts
(http://forecast.weather.gov/MapClick.php?CityName=Ithaca&state=NY&site=BGM&textField1=42.4422&textField2=-76.5002&e=0&FcstType=digital),
2009 Sep 03
1
Output from as.windrose() in oce package baffles me
I'm having trouble understanding the output from as.windrose(). For one
thing, data on a boundary between sectors seem to be left out of the
counts. I assume that explains the missing point in the output below
(angle 45). Shouldn't one side of each sector interval be open, to
include values such as my 45 in the example? Also, why does the angle
180 in my input apparently not result in
2013 Oct 27
2
Heteroscedasticity and mgcv.
I have a two part question one about statistical theory and the other
about implementations in R. Thank you for all help in advance.
(1) Am I correct in understanding that Heteroscedasticity is a problem for
Generalized Additive Models as it is for standard linear models? I am
asking particularly about the GAMs as implemented in the mgcv package.
Based upon my online search it seems that some