instruction
stringlengths
9
38.7k
I have a dataset collected using an accelerometer. I am extracting the magnitudes from the signal to find the difference in running pattern between two different running surfaces. Will normalization help to improve my classification accuracy? In general, when should we normalize time series data? Any suggestions?
I have a panel data (21 years) and I am trying to figure out whether I should use regression discontinuity design (RDD) or panel cointegration. I do have a randomness in the assignment variable and so I don't have any problem using the RDD; I can examine the causality (local average treatment effect). My questions are:...
I am trying to calculate confidence intervals on the second derivatives of a GAM curve. After estimating the derivatives, the idea is to then use function boot() to get confidence intervals, but I am unsure where to apply it along the way, or exactly what statistic(s) to bootstrap. The following code calculates second ...
I'm trying to understand how I might best model a variable where over time I've obtained increasingly detailed predictors. For example, consider modeling recovery rates on defaulted loans. Suppose we have a dataset with 20 years of data, and in the first 15 of those years we only know whether the loan was collateralize...
I am trying to perform a CFA on data (10 indicators: $n=300$) that is severely non-normal but continuous (counts of a clinical behavior over a period of weeks): many cases are at zero, a fair few between 1 and 30, and a handful at values sometimes much higher (even $> 1000$). I am using lavaan in R with the MLM estimat...
I'm using the arima method of stats package of R with my time series of 17376 elements. My goal is to get the value of the AIC criterion, I 've observed in my first test this: ts <- arima(serie[,1], order = c(2,1,1), seasonal = list(order=c(2,0,1),period = 24), method = "CSS", optim.method = "BFGS",) > ts$co...
Does there exist a conjugate prior for the Laplace distribution? If not, is there a known closed form expression that approximates the posterior for the parameters of the Laplace distribution? I've googled around quite a lot with no success so my current guess is "no" on the questions above...
What are the stationarity requirements of using regression with ARIMA errors (dynamic regression) for inference? Specifically, I have a non-stationary continuous outcome variable $y$, a non-stationary continuous predictor variable $x_a$ and a dummy variable treatment series $x_b$. I would like to know if the treatment ...
If we have absolutely no knowledge about the base rates (maybe except for the number of possible outcomes), what is the most accurate probability distribution to assume, is it uniform? Here is a practical example. I don't know whether the Universe is real or I am just living in a simulation. In either case, my observa...
Following the answer and comments on Python Statsmodels Testing Coefficients from Robust Linear Model based on M-Estimators: I'm wondering how the sandwich form of an m estimator's covariance matrix would be calculated. The RLM regression will devalue outliers, but my understanding is that it does not control for hete...
I have a table of employees' information and each employee has the following attributes. I wanted to do an analysis to find out what similarities they share among themselves and possibly cut them into 3 or 4 groups. I started with cluster analysis using fit = kmeans(mydata,5) and fit = dist(mydata,method="euclidean") b...
I develop open-source statistical software (http://openmx.psyc.virginia.edu/), but matrix calculus is not my strong point. I need the 1st and 2nd derivatives of the log multivariate normal density. I was happy to find the 1st derivatives here on CrossValidated, How to take derivative of multivariate normal density? How...
Cross posting my question from mathoverflow to find some stats specific help. I am studying a physical process generating data which projects nicely into two dimensions with non-negative values. Each process has a (projected) track of $x$-$y$ points -- see the image below. The sample tracks are blue, a troublesome typ...
I am trying to figure out how to start this problem: We have a multivariate regression of Y on X. Show that if we have tied values for X, we can replace those by a single set and use the mean for Y with an appropriate weight. (assuming weight = I with the nth diagonal=number of tied values)
I'm trying to design a continuous loss function for a logistic classifier. Suppose I have the following confusion matrix: [tn fp fn tp] I want the loss function to be A*tn + B*fn + C*fp + D*tp where A, B, C, and D can be different. It's easy enough to implement this discrete version of course, but how can I make ...
I have a list of movies ranked out of 5 based on their income. I have users ranking the same movies. Not all users rank all movies. How can I find out which users have the best correlation between what they ranked and what the income of the movie was?
My Problem I just started using the R library choicemodelr and succeded in getting some beta values as a solution. But I wonder how do I assign these values to the specific attribute-levels. As a result I only get values for A1B1, A1B2, A1B3,... etc. How does this generic output generally connect to my design? I didn'...
Any hard-working student is a counterexample to "all students are lazy". What are some simple counterexamples to "if random variables $X$ and $Y$ are uncorrelated then they are independent"?
Suppose I generate a multinomial distribution with probabilities $p_i$, i from 1 to k. Now suppose I test it back using goodness of fit (chi square) with the probabilities we know. I read that this works well when the sample size, N is large enough. Questions 1. What are the factors that influence how large N should be...
I'm trying to figure out a way to analyze these data that I have: These are data that I pulled from various studies, and each study has a different sample size, and each study reported an obliteration rate and seizure-free rate. I.e. study A has 20 people with obliteration rate of 70% and seizure-free rate of 65%. Stud...
I have a data set which contains a hundred or so user tags - that is, binary variables marking whether a user has a certain property or has shown a certain behaviour. (data from a web site.) user, high_usage, tablet, likes_cats, night_owl A, 1, 0, 1, 0 B, 0, 1, 0, 1 C...
Both box-and-whisker plot and bar chart are appropriate graphics for ANOVA according to The R Book (Crawley, 2013), but which is more appropriate? I suppose it depends on situation... can anybody help me?
I have 2 time series; Both the series are tracking inflation.(they have different sampling frequencies) Blue is the official CPI released by the US government. Red is an independent group's measure of inflation If I let the Blue line be the underlying system state, and the red line be the noisy input data, can I estim...
I am interesting in simulating AR(1) processes with 0.9 parameter and n = 10. The itterations should be 10000. When I was trying to run the program it gave me an error in the estimation procedure. "Error in arima(newyt, order = c(1, 0, 0)) : non-stationary AR part from CSS " My code is this: set.seed(1123) rep<-10...
I have carried out this ANOVA: summary(aov(drat ~ cyl, mtcars)) Df Sum Sq Mean Sq F value Pr(>F) cyl 1 4.342 4.342 28.81 8.24e-06 *** Residuals 30 4.521 0.151 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 According to the output, the sum o...
When using factors in a linear model, I would like to retrieve the 'average' effect as baseline (intercept), rather than level 1 of all factors. Is this possible? tab <- data.frame(gl(2,5),rnorm(10)+as.numeric(gl(2,5))) colnames(tab) <- c('pred','dat') mylm <- lm(dat~pred,data=tab) coefficients(mylm) returns somethin...
Recursive feature elimination (RFE) is a feature-selection strategy. It performs in two nested levels of cross-validation. First it tries to divide the training set into N folds. RFE puts one fold aside for testing the generalization and then trains itself with the remaining data. In my case I only have two classes an...
I'm trying to gain a better intuitive understanding of standard deviation. From what I understand it is representative of the average of the differences of a set of observations in a data set from the mean of that data set. However it is NOT actually equal to the averages of the differences as it gives more weight to o...
I do have some 10-12 independent variable, I want to know how these 10-12 variables are related to a single variable(X). so I can decide that some variables are positively correlated to X and some are negatively correlated. I thought of doing correlation between X and one of the independent variables individually and d...
I have data that looks a bit like this A<-c(90,95,70,45,20,15) B<-c(10,5,30,55,80,85) X<-c("X1","X2","X1","X2","X1","X2") Z<-c("Z1","Z1","Z2","Z2","Z3","Z3") I've carried out a glm mod1<-glm(cbind(A,B)~X*Z, binomial) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 2.1972 ...
I am currently training a random forest regressor (scikit learn) on the Titanic dataset. My question is related to this issue (https://stackoverflow.com/questions/19984957/scikit-predict-default-threshold) on stack overflow. I noted that I didn't have the same value as in scikit for measures like Precision, Recall, F...
I would be very grateful for some advice on how to model mixture distributions with R. Given a problem to create a ranking of graduate students by their yearly income after completing their education, what are some suited models for this task? Specifically, my data has a distribution with a point mass at 0 (the majorit...
I'm looking at the concentration of an event occurrences in a given interval of time. For example, we suppose that an event occurred 4 times in an interval of length 10. I can represent this as a string where X means the event occurred whereas o means the event didn't occur. The distribution of events could be rather "...
I am currently trying to better understand probabilistic skill ranking systems for games, but I find that I have trouble properly understanding the basic concept of how skill as a pairwise comparison can be generalized. For instance, if all you know is that player C wins player B 80% of the time, while that same player...
I have a question regarding how to evaluate agreement between an individual's rating, and that of a group of people (of which the individual was a part). The group score was achieved through consensus (i.e. they agreed on one score as a group). I was originally planning to use kappa to look at agreement between the two...
I'm not sure how to correctly calculate the standard deviation of recall, precision, accuracy and F-score. For example: TP FP FN TN total recall precision F-Score accuracy 40 10 15 50 115 0.727 0.800 0.762 0.783 TP = True Positive, FN = False Negative, e...
I want to fit an ARMA model with covariates to a non-stationary time series. I have daily measurements for water flow for 4 stations (S1-S4) and the time series is not stationary, so I will have to take a first difference. I want to find an ARMA model that takes as covariates the other 3 stations. What I have done: ...
I need to classify music (songs) into genres (rock, french house, trash metal, etc). My idea was to extract features from the songs (bmp, zero crossing, etc) and then apply known classification algorithms. I want to start with something simple and then improve from there if needed. What features are important for songs...
I am a student taking my first Statistics course now. I am confused by the term "test statistic". In the following (I saw this in some textbooks), $t$ seems to be a specific value calculated from a specific sample. $$ t=\frac{\overline{x} - \mu_0}{s / \sqrt{n}} $$ However, in the following (I saw this in some other te...
I would like to determine the relationship between two variables after controlling for a third. Specifically, I want to know if the prices of mercury and gold over time are correlated with each other more than or less than they are correlated with a generic metals price index. Is there some special signal in the relati...
I am working with a seven item Likert Scale (1, 2......6, 7) for a classroom management. How can I calculate the distance between these seven scale points? This is for instrument reliability purposes, I want to see if people find, for example, a larger difference between choice 4 and 5 and a shorter distance/differenc...
Not sure if this would be the right place to ask...but I am attempting to calculate a topological overlap measure (TOM) matrix using R. I'm running into a problem with a likely simple solution. Basically, I am not sure how to interpret the matrix notation for the TOM matrix. An example would be: $l_{ij}=\sum_{u}a_{i...
This question got me thinking about the meaning of variance: Intuition behind standard deviation. Variance of a set of data is calculated the same way that the moment of inertia is calculated for a physical body. The moment of inertia is related to the energy required to rotate the body at a given speed. A figure skat...
There are 3 independent variables (carb, protein, fat) in my experiment, each with two levels (low and High). I am trying to figure out if 3-Way ANOVA would be the best method. Example: Carb (low and high); Protein (low and high) Fat (low and high) How do I figure out the sample size of the participants in this in-b...
I was recently reading about Heckman selection models, and got sidetracked by how little I knew about truncated data. I was reading these slides, and on page 78 Baum mentions that if part of a sample has a truncated $Y$ variable, we can’t even use regression analysis on that $Y$ to make inferences about the sub-sample ...
I have a data set which consists of 1.Number of users, 2.Cpu usage, 3.Ram Usage, 4.Response time, The way I understand it Number of users is my independent variable. Is there a way, a method, or a program to help me create a function that expresses Response time in terms of cpu usage, ram usage and number of usage? I b...
I have a 'black box' model that outputs model predictions, but I don't know what actually goes on inside the model. I also have a bunch of data that I can pass through the model so that I can compare the predictions with actual results. Which interval would I use to bound most of the actual values around the predicte...
I am looking to compare regression coefficients between two regression models. Each model has the same four independent variables: two predictors of interest (we'll call them A and B) and two control variables (C and D). The only difference between the two models is that they have different dependent variables: the fir...
I'm facing the problem of visual tracking in computer vision. I have some observation (image blobs by background subtraction) produced by some moving object, and the task is to infer the state (position, velocity) of the object given the observation. I assume that each state depends only on the immediate predecessor (M...
Are the confidence and prediction bands around a non-linear regression supposed to be symmetrical around the regression line? Meaning they do not take on the hour-glass shape as in the case of the bands for linear regression. Why is that? Here is the model in question: $$ F(x) = \left(\frac{A-D}{1 + \left(\frac x C\r...
I know there is an R spatstat function to generate a ppp (Poisson Point Process), but I'm working in python, and I am not clear what spatstat.ppp is doing behind the scenes. If I generate a an array of ordered pairs of random x's and random y's (within the spatial extent), will that be (or how will it differ from) a ...
I don't understand why converting a Bayesian network into a factor graph is good for Bayesian inference? My questions are: What is the benefit of using factor graph in Bayesian reasoning? What would happen if we don't use it? Any concrete examples will be appreciated!
What statistics to use for testing hypothesis about regression coefficient when n is 120. I plan using a z score but am not sure.
Suppose that a computer is rated according to three numerical features: processor speed, disk size, main-memory size. Consider three computers $A,B$ and $C$ with values: $$A(3.06,500,6)$$ $$B(2.68, 320,4)$$ $$C(2.92,640,6)$$ The cosine distance emphasizes differences in disk size more than differences in other features...
As the title suggests, suppose I want to enter three blocks of variables --according to a theory that I am testing-- and then on the final step, I want to enter few additional predictors (not from the theory), using Stepwise procedure. Can I do that?
For most of my time in stats, I have been able to ignore the marginal distribution that is usually present at the denominator of any bayesian posterior distribution. For example, if we write down $L_x(\theta)\pi(\theta)$ and recognize that this function of $\theta$ looks like a distribution of $\theta$ but with an inc...
I have been trying to figure out the MLE of the binomial distribution but online, several different sources have different answers. For example, source 1 (http://cnx.org/content/m13500/latest/) gives: Now source 2 (http://wolfweb.unr.edu/~zal/STAT653_Fall12/HW2_sol.pdf) yields: Why is it that one answer gives just ...
I am looking for a comparison of different regression tree node splitting approaches within the random forest framework. I am looking at the trade-off between ensemble accuracy/reliability (holding forest size constant) and computational complexity of the split since I deal with large datasets. The standard approach i...
Many clustering algorithms can be used with big data, eg. versions of KMeans, DBSCAN based on Hadoop, etc. But, with k means we will get k centroids for k clusters and we can map them to the space and somehow understand the results. But what about density based algorithms like DBSCAN? In DBSCAN we'll get m clusters con...
Three salesmen a, b, c make house-to-house sales. Their probabilities of making a sale if they all go out for a sales call are $\frac{5}{8}$, $\frac{3}{8}$, and $\frac{1}{3}$. What is the probability that: 1) a sale will be made 2) only one of the salesmen will make a sale
I measured prey capturing success (=proportion of successful captures divided by the total number of prey captured) in four fish species (species 1: n=19, species 2: n=18, species 3: n=4, species 4: n=3) and would like to compare the prey capturing success between the four species. However, as there might be an individ...
I was reading a paper and came across a tree-figure which split time series representations into "Data Adaptive" and "Non Data Adaptive" representations. In the Data Adaptive branch were representations like SVD, Sorted coefficients, piecewise polynomial etc. While in the "Non Data Adaptive" branch were representations...
I am working with R package "muhaz" to get the kernel estimate of the hazard function. If we have the following example which is the sample of uncensored data: x =c(0.001409591, 0.008451294, 0.019719245, 0.046626865 ,0.244813744, 0.410032119, 0.489286425, 0.697342699, 0.731541987, 0.954493031) fit = muha...
Suppose I have $X,Y$, which are independent random variables. Why is it that $E(\frac{X}{Y}) = E(X)E(\frac{1}{Y})$? Also, why is it that $E(X^2Y^2)=E(X^2)E(Y^2)$? How is it that the square of an independent random variable is also independent in relation to $Y$ or $Y^2$? Thanks!
With respect to post (1) and post (2), I generated a large number of uniformly distributed points inside the ball of radius $R$ using $\frac{R_s U^{1/3}}{\sqrt{X_1^2 + X_2^2 + X_3^2}} (X_1, X_2, X_3)$, where $U$ is uniformly distributed between 0 and 1, and $X_1, X_2, X_3$ are independent normal random variables with m...
I am working on a logistic regression approach to predict the clinical status of patients (No disease vs Disease). I already have quite strong evidence indicating that the number of genes hit by a certain kind of variation is significant in predicting disease. Among the genes that I am considering, one of them (gene A)...
I am in a situation where I have to compute: $$E(u(x_1)|\bar{X},S^2)$$ where $X_1$ is a normally distributed random variable and $u(.)$ some function. I know that by the student's theorem the sample mean and the sample variance are independent and moreover that $\frac{(n-1)S^2}{\sigma^2}\sim \chi^2 (n-1)$. Can I simpl...
When the news talk about things been 'proven statistically' are they using a well-defined concept of statistics correctly, using it wrong, or just using an oxymoron? I imagine that a 'statistical proof' is not actually something performed to prove a hypothesis, nor a mathematical proof, but more of a 'statistical test'...
Consider two different data time-series, Data1 and Data2, expressed using inhomogeneous scales (units). Each of these two data series is itself a weighted-average of a bunch of standardized individual series. I would like to aggregate these two data series into one unique "index", by taking the equal-weight average o...
I am testing a neural net to predict numeric values. For that i am using a Training,Validation and Test split. I made a manual 4-Fold CV, this means i am getting 4 RMSE error, each one is the error of the i-th Fold on the test data. How do i get global RMSE of all 4 Folds. Would it be (rmse_1 + rmse_2 + rmse_3 + rmse_...
I have a model that produces data given a set of parameters. Now, given data, I'ld like to find out which parameters of the model are likely. I have an implementation in Matlab that uses Delayed Rejection Adaptive Metropolis for fitting (DRAM toolbox). Basically, DRAM samples parameter values, and tries to minimize an ...
$$ \sum(X^2) - \frac{(\sum X)^2}{n} = \sum(X^2) - m\sum X $$ This was nicely derived in Sum of squares two ways, how are they connected? But why is the second term called the "correction term for the mean"? This is lost on me. What is needing correction and why?
In a regression tree, it is often assumed that each leaf is a Gaussian distribution $\mathcal{N}(\mu_i, \sigma)$, where $i$ is the index the leaf. Is $\sigma$ calculated as the standard deviation within a leaf or the standard deviation for the dataset? If a tree is grown such that each leaf contains one instance (as i...
In this youtube video about bootstrap resampling, the creator states that when the number of bootstrap processes is small, the distribution of the parameter being estimated can no longer be thought to have a normal distribution (see from the 8:50 mark). Since the parameter's distribution is not normal, the standard dev...
I got into an interesting discussion with a co-worker today and we are not sure what the answer is: We have $N=1000$ samples from a Rayleigh PDF. We take those $N$ samples, and compute their (modified) sample kurtosis. (ie, kurtosis computation without de-meaning those $N$ samples first). We get a result. We then take ...
I have a precision recall curve for two separate algorithms. If I want to calculate the F-Measure I have to use the precision and recall values at a particular point on each curve. How is this point decided? For example on curve one there is a point where recall is 0.9 and precision is 0.87 and the other curve there is...
a teacher gives a 15 item science test. for each item, a student receives one point for a correct answer; 0 points for no answer; and loses one point for an incorrect answer. total test scores could range from +15 points to -15 points. the teacher computes the standard deviation for the class to be -2.30. What do we kn...
I was just wondering, when papers say "We adjusted the genotype for the first 3 principal components", are they using the eigenvectors, or the eigenvalues, from a Principal Component Analysis as cofactors in a genetic association analysis?
Before I release a new web service, I am trying to develop my data analytics skills so I can monitor the performance of the service. I may end up using and external service (eg: Google Analytics) or an analytics library, but I need to understand how the algorithms work before I can be confident I am using and interpret...
Consider the DGP $y_i=x_i+\epsilon_i$, where $\epsilon_i \sim Z$. We estimate $\beta=1$ by regression without a constant term, so in $y_i=\beta x_i + \epsilon_i$. Show that this DGP does not satisfy the stability assumption ($\operatorname{plim}(\frac{1}{n}X'X) \rightarrow Q, Q$ invertible) and show that the speed o...
I just read this statement: In neuroscience the true effect size is not known What does this mean? In contrast, what does it mean that where the true effect size is known?
I'm studying several schemes on classifying patients about their survival time. Let me illustrate the problem with supposing I have just two schemes. Let's suppose that Scheme 1 put the patients in 5 groups, and Scheme 2 put the patients in 5 groups too (but the groups have different compositions, for example patient 1...
I'm answering questions from a book that I own and I'm left scratching my head because one of my answers does not match the one provided in the book. Either the book contains a typo or I've simply done something wrong. It's a good book and it's by some quality authors, so I assume it's the latter case and hence the rea...
I have an experimental design problem and I'm not sure which would the best way to proceed. We have a micro-array experiment in which we compare gene expression profiles between 2 groups of patients. Each group has 12 independent biological replicates. Lets call these groups CT and EXP. The goal of this experiment is t...
Recently I noticed that Google and Apple have really high quality speech-recognition services. I was wondering about the state-of-the-art methods and techniques they are/might be using to achieve such quality. I already know that Hidden Markov Models can be used for speech recognition, but I was wondering if it's the u...
I have a statistic $\hat{\theta}$ for the parameter $\theta$. Which may be biased. Assume $\mathbb{E}[(\hat{\theta}-\theta)^2]=\textit{ecm}^2$ and $\mathbb{V}[\hat{\theta}]=\sigma^2$ are known, but the distribution of $\hat{\theta}$ is unknown. I want to find a confidence interval for $\theta$ using bootstrap. I foun...
Can I write $\text{Cov}[x,y+z]=\text{Cov}[x,y]+\text{Cov}[x,z]$, where $\text{Cov}(.)$ is referring to the population covariance? $x,y$ and $z$ are random variables. (very fundamental question... :)
$X\sim \mathcal{Normal}(0,1)$ random variable. $Y\sim \mathcal{Uniform}(\{-1,1\})$ random variable, independent of $X.$ Show that $Z=XY$ is a normal random variable. I tried to solve it through double integral but it failed to do. There should be a trick to solve this.
I would like to run a lagged random effects regression. The data is from an experiment in which participants were assigned to groups of five and participated in an interactive game for 20 rounds. Participants could exchange something during the experiment, which is the dependent variable. Now I would like to predict/ex...
Given a continuous probability density function $f(x)$, whose Taylor expansion is $f(x) = \sum\limits_{n=0}^\infty a_n x^n$ with radius of convergence $r$. Can we say something about the relationship between $r$ and the tail behavior of $f$? For example, for the normal density, $r=\infty$ and the it has a somewhat "lig...
Suppose my pdf is some function that requires that $x\geq0$ or else it becomes $0$. Also, the parameter is $\theta>0$. Now, I would like to calculate the MLE of that pdf for $X_1,...,X_n$ i.i.d. random variables. Now, suppose I differentiated with regards to the log-likelihood and found that the derivative is: $$\frac...
I have noticed that the confidence interval for predicted values in a linear regression tends to be narrow around the mean of the predictor and fat around the minimum and maximum values of the predictor. This can be seen in plots of these 4 linear regressions: I initially thought this was because most values of the pr...
I have a set of parties $V=\left\{ {V_i, V_j,..., V_n}\right\}$. Each party has a corresponding attribute $S=\left\{ {S_i, S_j,..., S_n}\right\}$ indicating the number of people participating to the event. For each pair of events $V_i$ and $V_j$ I can infer the number of participants in common as $E_{ij}$, with $E_{ij}...
I am trying to fit a negative binomial GLM to fish catch data with month of the year (factor) as my explanatory variable. I have selected the month with the greatest number of catches as my reference level and fitted the model using the glm.nb() function from the MASS package. model1<-glm.nb(catch~month+offset(log(Dura...
In the course of my work, something of a problem has arisen. It can be summarized like this: there's a large pool of job applicants, let's say N of them. What needs to be done is that these applicants be ranked in order of desirability to the company: 1, 2, 3,... N. Until now, this has been done rather laboriously by d...
I am comparing the difference in time-activity-budgets of two populations of seabirds, those in the presence of ship disturbance and those not in the presence of ship disturbance. Focal animals were chosen haphazardly and observed for up to 10 minutes. Not all animals were observed for 10 minutes but the purpose of thi...
Here is the situation: I want to sell my house. The price I'm getting from people who want to by my house follows i.i.d. with $X_n \sim \text{Uniform}(0,1)$, where $X_n$ is the highest offer on the $n$th day. I spend $C<0.1$ for advertising my house. My overall profit is $X_n-C_n$ when I sell the house on the $n$th day...
I am conducting a study on neurological diseased patients. I am looking into possible factors related to time-to-dementia. Costs associated with neurological testing allow us to assess all patients in the prospective cohort on an annual basis. We have (can afford) 4 fixed follow up visits for all patients - baseline, 1...
If $Z$ is $\mathcal N(0, 1)$, and $Z^2$ is $\chi^2_1$, is $\frac Z {\sqrt{Z^2/n}}$ a $t$ distribution with $n=1$ degree of freedom?
After stumbling upon the concept in a statistics textbook, I tried to wrap my head about it, and finally came to a conclusion which seems to fit all the explanations which I have seen so far: A credible interval is what non-statisticians think a confidence interval is. Digression for those like me-from-an-hour-ago wh...