r package

  1. S

    Options for deriving probability distributions of time-sequenced transition matrices when the data lacks the "memoryless" feature of a Markov chain?

    I have a dataset which I initially believed was suitable for running Markov Chain Monte Carlo simulations, in that there is a finite number of readily identifiable states that all population elements fall into and traverse over time, elements transition from one state to another (or remain in...
  2. E

    OR meta-analysis using R

    Hi! I have currently been using MedCalc for Odds Ratio meta-analysis. For both intervention and control groups is required the following data input: number of positive cases and number of total cases. The problem is, sometimes studies report Odds Ratios with CI:s, without primary data. ORs...
  3. A

    Change Point Detection using Least Sum of Squared Residuals (Two Phase Linear Regression)

    I have cumulative sum of rainfall data and would like to detect the Change Point with Least Sum of Squared Residuals (SSR) using Two Phase Linear Regression Model.Here is the data- a<-structure(list(DAY=1:200,CUMSUM=c(0.4975167,0.4975167,0.4975167,0.4975167,0.4975167...
  4. J

    About Local Linear Trend in R.

    Hi! I installed bsts package to use local linear trend model in R. But while executing it says, package "BoomSpikeSlab" doesnt find its source package "Boom". I installed even installing "Boom" package. But even after that it says the same. May any of you help me fixing the problem...
  5. D

    How to create .tar.gz file in Rstudio-Windows

    I am trying to create an R package by using "Rstudio" for the first time ^_*. Actually, I wrote all the functions in several "R scripts" and the documentation by using roxygen2. I loaded and built (Ctrl+Shift+B) and it works "DONE(packageName)", I used roxgen2::roxgenise() for documentation...
  6. P

    Propagate error with prediction interval

    I have a linear dataset with known values of X & Y in R. I treat the dataset as a linear model. I have a data point with a known value of X and an unknown value of Y. The X value has an associated instrument error. Goal: compute the prediction interval (of Y) for the data point based on...
  7. trinker

    Altering a package variable within R

    I'm thinking of making a package (not a cran one but a github come on enjoy no promises it's awesome. One function I have is a plot to dropbox function and retrieve the url. I'd like people to be able to download the package and then run a function that makes a data set within the package that...
  8. T

    Simple Question. Prediction intervals in R.

    Hi, I'm using R and I've fitted a seasonal Arima model to a time series. I wish to compute a prediction for the next 12 values of the time series with 95% confidence interval. Can someone advise me what command to use? Also could someone point me to where I might find out the answers to similar...
  9. drewmac

    Lmer Output/: variable re-levelling

    Morning/Evening all I'm having a bit of a time getting the LME4 package to list ALL of my IVs, rather than all-1. By way of example, here is my model/output (testing the effect of a voice on participant answers to yes/no questions) model = lmer(supportive ~ Voice + question +(1|participant)...