instruction
stringlengths
9
38.7k
I'm trying to figure out the distribution over a number of trials until a stopping condition is met. In particular, imagine we are observing samples of a uniformly distributed random variable, $X \in \{a,a+1,...,b\}$. We continue to observe samples until the sum of these numbers passes some threshold $Z$ then we stop t...
I'am getting familiar with the statistical notion of Divergence. The word "divergence" is also used in physics (or vector analysis, see here http://en.wikipedia.org/wiki/Divergence). As I was more familiar with the second use, I wonder If there is a link between the two uses. There seems to be none because the first on...
I want to determine the correlation between the returns of a portfolio with returns of the market (suitable index). To find how the portfolio performs in bear resp. bull markets, I want to calculate the correlation coeffients over different periods when the market is in decline or in rise (is this the correct antonym ...
I have data from an experiment in which participants were randomly assigned to one of two groups and asked a series of opinion questions. One group, the control, was not presented with any additional context beyond a brief introduction and the questions themselves. The other group, the treatment group, was given a text...
In my research (medical education field), I had 32 participants answering a questionnaire consisting of 40 Likert items rating their level of confidence in different aspects of treating a certain disease (1= Not at all confident, 6= Completely confident). The participants then undertook a course, and rated their confid...
I am interested in regression with neural networks. Neural networks with zero hidden nodes + skip-layer connections are linear models. What about the same neural nets but with hidden nodes ? I am wondering what would be the role of the skip-layer connections ? Intuitively, i would say that if you include the skip-layer...
My question pertains to linear separability with hyperplanes in a support vector machine. Is posible to determinate the optimal dimension in which i have to transform a training data set for make it lineary separable? How can i determinate the dimension of the transformed space?
When using regression to estimate a relation between a variable of interest and distance from a certain point (eg a distance-decay curve), what are the advantages and disadvantages of fitting the regression line to cumulative data rather than data by band, and what is the balance of advantage? The following is a slight...
For a prospective occupational cohort where everyone is exposed to one or more chemical agents, examining BMI at follow-up compared to a specific chemical exposure at baseline, is it necessary to control for baseline BMI? Is it better to model change in BMI or BMI at followup? There is no unexposed group -- just cohort...
I have a repeated measures (time 1, time 2) experimental design and would like to run a confirmatory factor analysis on the scales I've used and to follow up with Cronbach's $\alpha$. However I am unsure if I should run the analyses on time 1 or time 2 data. Any advice?
From Wikipedia Formally, the partial correlation between $X$ and $Y$ given a set of $n$ controlling variables $Z = \{Z_1, Z_2, …, Z_n\}$, written $ρ_{XY·Z}$, is the correlation between the residuals $RX$ and $RY$ resulting from the linear regression of $X$ with $Z$ and of $Y$ with $Z$, respectively. It says earlier...
I would like to compare the means across three groups of equal sizes (equal sample size is small, 21). The means of each group are normally distributed, but their variances are unequal (tested via Levene's). Is a transformation the best route in this situation? Should I consider anything else first?
I am working on a project that involves computing similarity metrics between strings. I was would like to know whether it is possible to use hamming distance on strings with differnt length, and if possible, how to go about it. I step by step explanation would be grately appreciated. Thanks.
I'm looking for a way to integrate prior knowledge about a parameter in a context equivalent to Bayesian hierarchical models. I come from frequentist background and I'm uninitiated in hierarchical models, but I've got a gut feeling that this could solve my problem. Given an $L_1$ shrunken OLS regression problem I assum...
I'm wondering whether or not I should adjust the significance level of paired t-tests due to multiple tests (to avoid the possibility of Type 1 error), although the tests are independent. Here's what I'm trying to test: 4 groups of participants each underwent a different mood manipulation procedure. To test the effect ...
How should I test the statistical difference of a mean (or median?) concentration of an enzyme between two groups of patients where the distribution in one group is normal, whereas in other it is non-normal? The distribution of values for the entire study population is non-normal. Do I use a Mann-Whitney test, or Stude...
Note: Mainly this question pertains to predictions from a model. If the unit of analysis of a regression (or any predictive model really) is the individual retail store and these stores are organized into geographic regions, when does it make sense to include variables that describe the geographic region (i.e. a coarse...
I have the following coxph model: Surv(Y) ~ genotype + treatment + age + frailty(batch) + genotype:frailty(batch) batch is a random effect (two replicates of the experiment were done with different subjects). Events can only happen once per subject. The summary output looks like this: coef ...
The R code "intervals()" gives confidence intervals for fixed effects only in a mixed model. *Is there a reason why only fixed effects' confidence intervals are provided? *Is there any way to get confidence intervals for random effects as well?
I have frequency data for 9 populations, divided into two groups, one of five populations and one of four. I am interested in whether these two groups are different. A classic way to analyse such data, I think, is a CMH test where, in my example, I could construct a 2 x 2 x k test, where k is 4 = number of pairs (i....
I have some associated categorical dependent variables that are ordinal in nature (with 4 or 5 categories). If I want to see the effect of a set of independent variables (which can be both continuous and categorical) what is the right way to perform the regression? Should that be a multivariate generalized linear mode...
I am reading SimRank paper by Jeh and Widom which tries to find the similarity between objects based on the relationships between them. Effectively, SimRank is a measure that says "two objects are similar if they are related to similar objects." Let us denote the similarity between objects a and b by $s(a, b) \in [0, 1...
For university we need to classify 3 cancer types and give an estimation of how well our model will perform. We received a dataset with 100 samples. We split the data up into a training and test set using stratified sampling with a ratio of 0.3 and 0.7. The resulting training set consists of 69 samples, and the test se...
Assuming the data structure given below, $$ \left[\begin{array}{l|l} y & x \\ \hline \hline y_{1} & x_{1} \\ y_{2} & x_{2} \\ \vdots & \vdots \\ y_{n} & x_{n} \\ \end{array}\right] $$ Suppose we want to fit a Poisson regression model such that $y_{i} \sim \text{Pois}(\mu_{i})$ for $i=1,2\ldots,n$. where...
Forgive me if this is outside of the scope of Cross Validated, but it seemed relevant on the visualization front. As described here (page 3) there exists a phenomenon when gauging the distance between two lines on a plot to compare the shortest distance between the two lines, rather than the vertical distance. This l...
My features' every dimension has different range of value. I want to know if it is essential to normalize this dataset.
If I try and fit the linear regression lm(y~V1+V3,data=x) with data: structure(list(V1 = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L ), .Label = c("A", "B", "C", "D"), class = "fa...
I have an ordinal independent variable (<1hr, 1hr, 1-3hrs, 3-5hrs, >5hrs) and an interval dependent variable (test scores). Apparently I am expected to examine the relationship between the two by conducting Spearman Rho correlations. However, would it not be more useful to perform a one-way ANOVA and post hoc test? Esp...
Let $\theta$ be the set of parameters for a Bayesian Network model. The model observes some data $D$. I want to then predict the values of some new data $D$. Why is the following true? $$ p(D'|D) = \int p(D'|\theta)p(\theta|D) d\theta $$ Does it stem from some manipulation of Bayes rule? Or the formula for expected val...
I am doing a self study of E.T.Jayne's Probability Theory, the logic of science. I wanted to see that does any one know of a web page providing solutions to the exercises? I have no teacher or anyone experienced in this book around me, I need to make sure that my solutions to them are correct.
Suppose that in a linear regression, some of the continuous variables (such as number of pills taken each day) have small discrete values. For e.g. the number of pills taken each day can take values 0,1,2,3. Would it be better to treat these continuous variables as categorical or ordinal variables? What should be the ...
I'm trying to analyze if there exists any correlation between two time series? So far I have not been able to notice any significant correlation. So if I were to assert in my report that these time series are uncorrelated what are the minimum experiments/tests/metrics/results that I must provide to support my claim?
I have some experimental data that are observations of an $n$ dimensional quantity, $x = \{x_1, x_2, \ldots, x_n\}$. I also have a complicated parameterized model $f(a,b)$ for the data, which for a given choice of $a$ and $b$, will spit out an $n$ dimensional vector $y = \{y_1, y_2, \ldots,y_n\}$. $y$ is supposed to be...
In Bishop's book "Pattern Classification and Machine Learning", it describes a technique for regularization in the context of neural networks. However, I don't understand a paragraph describing that during the training process, the number of degrees of freedom increases along with the model complexity. The relevant quo...
I am working on a credit scoring modelling project and we decided to use dummy variables for regression. The way we create dummy variables are: For each predicting numeric variable, We create by default 10 equal-size bins, examine the weights of evidence (WOE) for each bin and merge adjacent bins if their WOEs are sim...
I have data from a survey experiment in which respondents were randomly assigned to one of four groups: > summary(df$Group) Control Treatment1 Treatment2 Treatment3 59 63 62 66 While the three treatment groups do vary slightly in the stimulus applied...
I have been using R to calculate logistic regression with many independent variables for a Ruby on Rails web application. However, I can no longer import data from the database to R using RPostgreSQL. The web host has stopped allowing insecure connections to the database. The point is, I either need to get a new web ho...
I am using logistic regression to analyze some categorical data (binary response variable and categorical -- mostly binary -- predictor variables). For my model, I have something like A ~ B and a hypothesis that the respondent's B has some explanatory power over the choice of A. When I run this regression, only the in...
I am currently working with gene expression data where I have a number of genes (variables) measured over a number of samples. I could not make sense of the statistics and visualization suite we have, so I started checking out the tutorial and came up with the following bit: You specify a lower cutoff for the variance...
I am conducting multinomial log. regression, my DV has three categories, therefore my output gives me the comparison between the reference category and the other two. I would also like to compare those two which are not reference with each other. I know I can do this by changing the reference category in a second analy...
I am performing a generalized linear model, where I have to specify a family different from the normal one. What is the expected distribution of residuals? For example, should the residuals be distributed normally?
Assuming $R_{\text{later}}=R_{k+1}+R_{k+2}+\ldots+R_n$ and that B (background information), in summary is: There are $N$ balls in an urn, $M$ of them being red and we draw $n$. Jaynes derives the probability for drawing a red ball in the $k$th draw as: $$P(R_k|R_{\text{later}}B)=\frac{M}{N-n+k}\times\frac{\binom{N-1}{n...
I have a count of sickness absences before and after an accident, and I want to find out whether an accident increases the sickness absences differently in different groups. I'm trying to formulate a Poisson model for this, but I'm not sure if I'm doing it correctly, or if I should be doing something completely differe...
I have been given two sets of independent random variables distributed by two different normal distributions $X_1,...,X_n \sim N(\theta_1,1)$ and $Y_1,...,Y_m \sim N(\theta_2,1)$. And have been asked to find the log likelihood function for the parameter $\theta = (\theta_1,\theta_2)$. I was wondering if a correct appro...
I want to fit a standardized Student's-t distribution. The log-likelihood is given by: \begin{align*} log \mathcal{L}(\nu | l_1,...,l_n)=\sum_{i=1}^n \left( log \left( (\pi (\nu-2))^{-\frac{1}{2}}\Gamma \left(\frac{\nu}{2} \right)^{-1} \Gamma \left(\frac{\nu+1}{2} \right) \left(1+\frac{l^2}{\nu-2} \right)^{\text{$-\f...
I am looking at whether Corporate Venture Capital-backed firms (1) perform better than Independent Venture capital - backed firms(0) in their POST-IPO performance. My assumption is that this relationship is either strengthened or weakened by the amount of Experience (continuous). After creating a new variable for Corp...
I am undertaking biology course work and am a little stuck. My experimental hypothesis is: There is a significant correlation between increasing tomato extract concentrations and reduced seed germination. Which statistical test would be best?
I have a set of data points with an uncertainty on each point. From these data points I can fit a line, who's which the slope is a significant value. How do I use the information I have to get an estimate on the $ \sigma $ of my final value? All I can find online is information on $ R^2$ and $ \chi ^2 $. Bonus points i...
I ran a 4(A)x4(B)x2(C) ANOVA in SPSS. I got significant main effects of A, B and C, and significant interaction effects of AxB and BxC. I got no significant interaction effects of AxC and AxBxC. My questions are: What do I do now? What post-hocs do I carry out? Should I make plots for AxB and BxC disregarding the thi...
I have a series of objects for which I know the probability of belonging to 10 classes. This probability can be null (see example below with 4 classes: A,B,C,D). A B C D 1 0.4 0.0 0.2 0.4 2 0.1 0.3 0.4 0.2 3 0.0 0.0 0.0 1.0 In order to get for each object an information about the quality of th...
I'm working with a team that is pressing hard to do a conjoint analysis on what is essentially a 2x2 factorial design. I get the feeling, though, that this is just their favourite hammer and not necessarily a good idea, so I'd like to push back in an informed way. What assumptions does a conjoint analysis make about ...
Some Regression doubts.. Say, I want to quantify the difference in the effect of BMI in onset age of diabetes for Hypertensive and non-hypertensive patients. I have done Multiple Linear Regression model with Age at onset of diabetes as outcome variable and BMI during diagnosis (continuous variable) and gender (binary) ...
My dataset contains two (rather strongly correlated) variables $t$ (runtime of algorithm) and $n$ (number of examined nodes, whatever). Both are strongly correlated by design, because the algorithm can manage roughly $c$ nodes per second. The algorithm was run on several problems, but it was terminated if a solution ha...
I have a binary logistic regression with Y (a disease) and 5 independent variables (and some of their 2-sided interactions which did not cause multicollinearity). All of my single IVs significantly predict Y: A: positive beta for males (males are more likely to get affected) B: a positive beta (older people are more l...
I have some data which I've analyzed using Kaplan Meier estimation. However, I have a gut feeling that this estimator is biased due to the high censoring rate in my data (nearly 50% censored at later times). What are some ways to address this in an analysis?
As an example I use Pinheiro, J. C. & Bates, D. M. 2000. Mixed-effects models in S and S-PLUS. Springer, New York. page 225. Rats whose body mass has been measured are fed by 3 different diets over time. Response: Body mass, fixed effects Time*Diet, random effect ~Time|Rat. The main question with this test was if the ...
I am trying to figure out what happens if you apply Hampel's outlier detection technique based on the median and the MAD to data that is skewed. Apparently, the advantage of Hampel's method over z-scores is that it is much less influenced by outliers itself. However, several papers and websites say that this method sho...
In time series forecasting using various models like AR,MA,ARMA, etc, we usually focus on the modeling of the data in the change of time. But when we have 2 time series that Pearson correlation coefficient show they are highly correlated, is it possible to model their dependency and forecast values of one from the othe...
I've got a model that looks like this: $$Y_{ig} = \left(\beta_{everyone} + \beta_g\right)X_{ig} + Z_{ig}'\gamma + \epsilon_{ig}$$ in R, this is library(lme4) example = lmer(Y~ X + Z + (0 + X|g)) I want a conditional estimated distribution of $Y|G=g,X=x,Z=z$ For lm, gam, etc, this is just predict(example) as the mean ...
Could anyone suggest a statistical technique for comparing two distributions, where the numbers in each distribution are proportions? I have two distributions, each of which reports the proportion of entities in one of 12 classes. Unfortunately, I don't know much about the sample size for one of these distributions, so...
I am reading this paper on Generalised Wishart Process (GWP). It is about modelling covariance matrix of D - dimensional gaussian processes (GP) as GWP. I fail to understand interpretation of "degrees of freedom" $\nu$ for a GP. There are quiet a few mention of degree of freedom in the paper. In section 4, they define ...
I have a labeling task with 4 labels for which I'm using 2 coders/annotators/raters. This labeling effort leads to a confusion matrix like the one in https://docs.google.com/drawings/d/1T7pkLLkE7qvKanxqvZO_uQ_q3hz6S3fcTbOnWophx38/edit?usp=sharing I want to measure the agreement between the 2 annotators. How so? Kappa ...
I'm trying to find a method to update a time to event distribution given the passage of time without the event occurring. For example, if I am waiting for a bus and the time to arrival can be modeled by an exponential distribution with rate 1/8, then how would I update the distribution after waiting 2 minutes without ...
I'm using R to calculate the two-sample test for equality of proportions, where the two proportions are 350/400 and 25/25. So: > prop.test(c(350,25),c(400,25)) ...
I would like to know how the treatment of weights differs between svyglm and glm I am using the twang package in R to create propensity scores which are then used as weights, as follows (this code comes from the twang documentation): library(twang) library(survey) set.seed(1) data(lalonde) ps.lalonde <- ps(treat ~ ag...
Say I have two estimators for the same quantity and using the same model, $E[f(X)]$. I also know that these two estimators are consistent, meaning, if we have a lot of data, they will be close to the true $E[f(X)]$ -- but all of this under the assumption that the model is correct! MLE is one kind of estimator like this...
The data I have is based on percentages. I have several variables on percent of children that have been immunized. So one column that is one kind of immunization, and is ordered by state. So for example in my data it shows that in Massachusetts, 53.3% of children have gotten the HPV4 vaccine. I want to correlate them w...
I have a dataset $X = \{x_1, ..., x_n\}$. I also have three algorithms, $A_1, A_2, A_3$, that each take a single data point as input and produce some measure of how well they performed. If I apply each of the algorithms to each of the data, I get a matrix of performance measures, $M$, where $M_{a,i}$ is the value of $A...
Are the values of xcorr(x,y) in MATLAB correlation values or not? I'm asking this because in MATLAB xcorr(x,y,'coeff') normalizes values. Is it normalizing covariance values to get correlations? I'm confused if cross correlation values are necessarily between -1 and 1 like Pearson correlation values. Also, I see from ...
I came across this image in a blog post here. I was disappointed that reading the statement did not elicit the same facial expression for me as it did for this guy. So, what is meant by the statement that the null hypothesis is how frequentists express an uninformative prior? Is it really true? Edit: I'm hoping some...
I'm dealing with a time series data and I'm trying to construct a time series model for this particular dataset. I'm new to R and tried using the the auto.arima function under the forecast package: fit <- auto.arima(tsdata, xreg=cbind(CSS2$Month,CSS2$DayID,CSS2$Year), stepwise=FALSE, approximation=F...
In the opinions of the denizens of this forum, how good is this article? It makes a big point of the unsolved mathematical problem, and says little about the fact that just which math problem is to be solved may be philosophically controversial. It does say "One difficulty with discussing the Behrens–Fisher problem an...
I need to estimate parameters of an AR model which is in the form of AR(1,11) it means that coefficients of AR orders from order 2 until order 10 are zero. How can I estimate these two parameters in R since arima function only accepts p as the order of the AR component. Note that this model has a different structure th...
What scheme is being used for the axes in this plot? Does it have a name? It looks like the x axis is linear with a discrete change in spacing at 1 micron, but I can't figure out what's going on in the y axis.
I am using glm to find a model using training data and then use test data to see how well the model is behaving. My response variable is numeric. Below is a toy example that is showing the steps taken by me: library(car) summary(Prestige) head(Prestige) testidx <- which(1:nrow(Prestige)%%4==0) prestige_train <- Presti...
How do you know when to use AIC or BIC for determining model fit? Is it just a judgment call? Is there an intuitive explanation as to which heuristic is better than the other?
Two random number generators with uniform distributions having min, max as (0,8) The first generates all integers between 0 and 8 uniformly. But the second generates only [0,2,4,6,8] uniformly. What is the difference between the second generator and the first? Smaller range, but scaled up? A discrete vs. continuous dis...
I want to compare the relative variability of several sleep-related variables in the same group of subjects. For example, is there more variability in time spent in REM sleep compared to the number of eye movement in REM sleep? These variables have different scales, which does not allow me to simply compare their vari...
help. Problem: Given a bounded Gaussian Distribution -- looking reproduce similar results i.e. same mean and standard deviation randomly. Definition: Data set exhibits properties of a Gaussian distribution. Data set is bounded. Each value of the data set is an integer. Let mu and sigma represent the mean and standard d...
I tried to compare the following two models using "anova.lm()" in R: Model 1: score ~ gpa + class Model 2: score ~ gpa Res.Df RSS Df Sum of Sq F Pr(>F) 1 90 213 2 91 201 1 96 14.07 <2.2e-16 Since there is only one DF, how should I report t...
I have a set of data which contains answers to a questionnaire (questions about satisfaction rated 1 to 5) and some demographic information (sex, age). I can divide the data in two groups and I want to see if there is any statistical difference between those groups. I tried the Wilcoxon test, but I have many ties, so I...
I am comparing two group means on two dependent variables (aggression and stress levels) using Mann-Whitney U test by SPSS. My question is that do I need to adjust the alpha level for this?
I'm wondering how can I justify my sample size! I have 45 observations and 6 independent variables from which one is control variable. Is there any rule of thumb or specific test in this regard? Many thanks,
A box contains 100 balls, numbered from 1 to 100. If 3 balls are selected at random and with replacement from the box, what is the probability that the sum of the 3 numbers on the balls selected from the box will be odd? The answer to this question is 1/2. This is a a high level GMAT sample question and the working ou...
I'm working on a school project and have decided to use SVM for stock market prediction. I have a 1000x5 matrix of stock quotes containg data for open, close, high, low, volume data. From what I know, the labels should consist of +1/-1, for either up or down. How do I get this label data? I'm using python and I am some...
This is probably a very naive question... I'd like to estimate "adjusted" or "conditional" means for a variable (i'm unsure of the correct terminology). My data are on cortisol levels (dependent variable) in rabbits (n=56). I have many measurements at different times of the day, over many months. I'd like to calculate ...
I have a JAGS hierarchical model which includes a temporal sub-model for the primary vote share between four party groups (LNP, Labor, Green, and Other). For each day in the temporal model, the vote shares sum to one. The temporal model is an auto-regressive random walk: the vote shares for the four party groups today ...
I have tried to read about tangent propagation in neural networks (although I guess it could be applicable to other methods) which is a procedure to create models that are invariant to certain transformation. So basically the argument goes like this: Start with an input vector $x_{n}$. Then use a linear transformation ...
It was mentioned that Volume 2 of Mathematical Statistics by Bickel and Doksum was scheduled to be published in 2003. I was wondering if I miss something, but why it is not yet available? Is there some change of plan? Volume 1 of Robust Asymptotic Statistics by Helmut Rieder was published in 90's. But it seems no vo...
I have a survey with 25 items that were administered pre and post an intervention. Each item had four possible responses: Not Appealing at all Not Appealing Somewhat Appealing Very Appealing. The survey was given to a class of 60 students. I have entered the data into SPSS and created a case for each student, with P...
I have a collection of $n$ datapoints $(y_i,\bf{x}_i)$ in $\mathbb{R}^{p+1}$ and would like to estimate the following model in R: $$\underset{\bf{b}\in\mathbb{R}^{p}}{\arg.\min}\;\sum_{i=1}^n(y_i-\bf{x}_i'\bf{b})^2$$ $$u.c.\;\;\;0\leq \bf{x}_i'\bf{b}\leq 1\;\;\;\forall i$$ anybody has a pointer to an efficient way of ...
I iterated my 10-fold cross validation 100 times for several methods. Now I want to use a t-test to test if the results are significant. However, I'm not sure what the sample size is. Is the sample size the original amount of samples, or is it the original amount of samples x 100? edit: For university we need to class...
I'm trying to program impulse response functions for a VAR model using Cholesky decomposition. The thing is I do not completely understand how I should do this when I read in the literature. Suppose I have: $$ \begin{bmatrix}x_t\\y_t\\z_t\end{bmatrix}=\begin{bmatrix}\alpha_1\\\alpha_2\\\alpha_3\end{bmatrix}+\begin{bmat...
I am using a binomial regression model for presence/absence, with 20 independent variables to test. The data has x and y coordinates and I would like to understand how can I take into account the spatial autocorrelation. I already studied the correlation between the variables and run the same model for 1000 different s...
I am not quite sure if this is the right place for a question like this, but asking anyway. Having <14x10 double> input matrix (manually normalized) and <5x10 double> output matrix (manually normalized), after a long session of training and comparing performances (the less the better) for different functions, I have fi...
I'm new to SAS coding from SPSS point and click. I don't currently have SPSS, so SAS is my only option. My question is: how do I get the percent variance explained and cumulative variance explained following varimax rotation?? I get the total that I would get under 'Rotation Sums of Square Loadings' but not the % vari...
I'm trying to fit a discrete-time model in R, but I'm not sure how to do it. I've read that you can organize the dependent variable in different rows, one for each time-observation, and the use the glm function with a logit or cloglog link. In this sense, I have three columns: ID, Event (1 or 0, in each time-obs) and T...
I need to manually calculate multi-step prediction intervals for time series data. I know packages like 'forecast' in R provide these, but I cannot use these packages as the production infrastructure does not support R. Could someone point me to an article that explains how to generate multi-step prediction intervals?...
I have a study where they randomized patients into 2 groups (A and B). The primary aim is to compare group A against a fixed/ true value of 0.75. The binomial test is not stratified and cochran mantel haenszel needs 2 groups. How can I perform a stratified test for risk differences against a true value?
I am somehow unsure on the best option to analyze these data. Here is my study case: The response variable is a morphometric measure, one for each individual. During 10 years, say 2000-2009, people went to the field to collect data (the response variable) during two specific months (always the same along the study peri...