instruction stringlengths 9 38.7k |
|---|
There is a probability problem in Causal Schemata in Judgements Under Uncertainty (1977) by Amos Tversky and Daniel Kahneman that goes like this:
Problem 1: Which of the following events is more probable?
That a girl has blue eyes if her mother has blue
eyes
That the mother has blue eyes, if her daughter has
blue eye... |
Why can we not define a 3D rank correlation as the elongation of the cloud as a proportion of the multidimensional variance as an extension of the 2D rank correlation case as suggested by @gung?
There are several attempted answers to a related question in Spearman's Rank-Order Correlation for higher dimensions. Howeve... |
Let's say I'm trying to measure the effect of a marketing campaign on dwell time (length of stay at a location).
Why not just use a simple year over year calculation to measure the effect? E.g. 20% increase in time from last year. Assuming other main factors such as weather/seasonality/day of the month affect dwell tim... |
My Y variable varies between 0 and 1 with increments of 0.067. I have a lot of zeros in my data. My questions are:
Is the residual vs. fitted plot below OK. Or as suggested in this link: Heteroscedasticity in residuals vs. fitted plot and this link: How should I interpret this residual plot? is there a floor effect? ... |
I am aware of the Random Forest implementation with variable importance in R and Python. Are there any others out there for classification? Can Lasso be used in a non-linear context?
|
What's the intuitive difference between logistic regression of $P(Y|X)$ on the dataset
X1 X2 Y
0 0 0
1 0 0
1 0 1
0 1 0
0 1 0
0 1 0
0 1 1
1 1 1
and a weighted linear regression on
X1 X2 Y w
0 0 0 1
1 0 0.5 2
0 1 0.25 4
1 1 1 2
I know they are defined differently, and I feel like the... |
I am confused about Naive Bayes. Some sources e.g. here suggest only linear decision boundaries can be fit. Others here on SE or here on CV say or just suspect they can be non-linear. What is true? Are both suppositions based on different assumptions, perhaps?
Specifically the latter two source says that they can be li... |
I'd like to ask about mixed effects models. I'm modeling based on the significance of the likelihood ratio, within R. As a primary criterion I use the p-significance of the model comparison (anova()). Yet, with any significant comparison, I'll also check the AIC() difference separately. As I understand it, this last ch... |
I have a large dataset where each item contains a small set of random pairs of connected nodes (say 3), however I do not know the links. For example, you might be given ABC & XYZ, but you don't know if A connects to X, Y, or Z, etc. But you do know that there are three pairs, each with distinct nodes. The correct links... |
I am working with a psychometric test of future orientation/prospection and looking at repeat measures within-subject, tested twice across 3-4 years.
I've read that Pearson's r would be suitable if the data are normal, though my Wilks Shapiro stats strongly suggest non-normality.
Do you have any advice for test-retes... |
I'm reading some notes for an course in Econometrics, and they parenthetically assert that the total sum of squares for the null model is equal to the variance * degrees of freedom (n-1), while the residual sum of squares for a given model is equal to variance * degrees of freedom (n-p).
What is the intuition or proo... |
I have two histograms and I want to how good they match with each other. Are there any method available to test their goodness of fit ? Can anyone suggest some methods that can say how good they fit each other.
Thanks in advance.
|
Suppose that we are fitting an AR(p) model to the data (we have fixed the p).
Treating the AR(p) model as a multiple regression, we estimate all the parameters using OLS and then use the backward elimination method to toss out the insignificant lags.
I have checked a few standard time series textbooks and non of them t... |
Say we have $X \sim \text{Beta}(\alpha, \beta)$. What's the sampling distribution of its sample mean?
In other words, what distribution does the sample mean $\bar{X}$ of a Beta follow?
|
I would like to forecast parking space occupancy for several parking lots. My dataset contains information on the date and time of entering/exiting cars, parking capacity and price.
Is it possible to use time series modeling to predict when occupancy rates of the lots will increase/decrease throughout the day?
|
If $X_1$ and $X_2$ are jointly normal with $ 0<\rho < 1$ , and both individually follow the standard normal distribution, how do I get $ \Pr(X_2\leq x_2 \mid X_1=x_1)$ from the Copula function? I know that it's a partial derivative of the Copula but I am not able to get an expression for it. Kindly help!
|
I'm trying to see what effect different doses of a drug (IV 1) have on the behavior (my dependent variable) of a rodent model; specifically, whether there is a significant change in this behavior compared to an animal given saline. I also want to see if there are sex differences (IV 2) for each dose group. All of these... |
In a project that I'm working in, there are 5 equal soil humidity sensors displayed in the exact same point but at different depths (20,40,60,80 and 100cm from the surface, respectively). Therefore, each sensor measures the humidity level at these different depths providing info that is later used into a prediction mod... |
I mean statements such as: "the probability distribution of X" or "its probability distribution". I am quite confused about such expressions.
Could someone please explain the relationship between, Probability, Probability Distribution, density function? I have checked on Wikipedia for a while, still only clear about t... |
If we normalize (scale and center) x and y, then the slope from y_norm ~ x_norm is equal to cor(x, y). Why?
|
How would you implement the following in Matlab without loops:
$$
\Sigma = \frac{1}{m}\sum_{i=1}^{m}(\mathbf x_i - \mu_{yi})(\mathbf x_i - \mu_{yi})^T
$$
Where $\mathbf x \in \mathbb{R}^{m\times n}$ is your input matrix, $\mathbf y \in \{0,1\}$ is your label column vector. Additionally, you need to have already calcula... |
I am aiming to show that the MLE of $(\alpha, \lambda)$ for $X_1, \dots, X_n \sim \Gamma(\alpha,\lambda)$ exists and is unique, under the assumption that the $X_i$ are all positive and unequal. I am doing this through profiling, that is I found the profile likelihood of $\alpha$ to be:
$$F(\alpha) = n\alpha\log\left (\... |
I am in the process of writing up a manuscript.
Our hypothesis: Longer duration of medication use (month) is associated with higher apnea-hypopnea index (AHI; a marker for obstructive sleep apnea severity).
Multivariable and Univariate linear regression analysis between AHI and different variables did not reveal any s... |
I have two groups (control and experimental). I want to test whether increased irrigation will affect clutch size of lizards. In order to do this, I need to have separate plots within the irrigated areas and within the control areas, in order to fence off the lizards. I am hoping to do a power analysis and determine ho... |
I'm working on putting together a variational solution to a somewhat "exotic" mixture model, and got stumped setting up the computation for the lower bound.
This prompted me to go back to this wonderful ref. in an effort to see where I may be going wrong, and this has lead me to virtually the same problem I'm having wi... |
I've read some papers about manually contriving images to "fool" a neural network (see below).
Is this because that the networks only model the conditional probability $p(y|x)$?
If a network can model the joint probability $p(y,x)$, will such cases still occur?
My guess is such artificially generated images are diff... |
When collecting measurements which each have a certain amount of associated uncertainty, and subsequently using them to create a dimensionless result (like a ratio), how exactly is the uncertainty applied to the final dimensionless result?
I've been collecting measurements with a spectrometer, each of which has a certa... |
I am doing a meta-analysis. How can I change the reference category such as in a pooled analysis?
Most studies have reported male as the reference group (Female : Male). However in one study the reference group is Female (Male : Female).
Can someone advise me how to change the reference category in this situation?
I... |
I'm having trouble with inference from the posterior predictive distribution I've generated from a multivariate probit model I constructed using Rstan. My primary interest in the model is to estimate the probability of co-occurrence, with uncertainty, for correlated responses after having accounted for independent vari... |
If $A$ is independent of $(B,C)$ does it mean $A$ is independent of $B$ and also independent of $C$? What does jointly independent mean?
|
Suppose there is a match between two teams where the first team to win a certain number of games wins the match. The match is handicapped, with Teams A needing to win $H_A$ games and Team B needing $H_B$ games. Without loss of generality, let $H_A \le H_B$. The odds of each game are different; let $p_i$ be the probabil... |
I have some cross sectional data in which I would like to perform a basic ANOVA on. Some of the measurements are repeats from the same subjects, but the "independent variable" is not necessarily the same for each subject every time. Thus, I am thinking to treat each trial as independent from each other, would this be a... |
I have a few questions. If you would be so kind to help.
so i am wondering, because this is pretty subjective (imo). What would you consider a "normal" percentage of outliers in your data set?
Lets say for example i have a data set of 10 million records and i perform a cluster analysis.
I am asking because i want to be... |
I have a question on Decision tree visualization.
I have used scikit-learn Decision Tree classifier for my analysis.
I have 2 classes to predict: 0 and 1 (it comes up as a numeric field when I load the dataset)
I have given the class_names as "NotPresent" and "Ispresent" which I believe it will map to 0 and 1. is that ... |
Hi So I have this question below. I know I need to model each lane as a separate Poisson distribution. The possible answers are:
a) 11.4%; 22.4%; 33.4%; 44.4%; 55.4%
b) 2.74%; 4.74%; 12.74%; 34.74%; 64.74%
but obviously I need to know how to get to the answer.
Question:
Vehicles arrive at a rate of $1200$ vehicles pe... |
In an OLS regression with continuous variables Y, X1, X2:
the interaction term X1*X2 is not significant in model 1,
the interaction term X1*X2 becomes significant when the quadratic interaction term X1*X2^2 is added in model 2.
Am I correct that it seems "wrong" or problematic to conclude a significant interaction ... |
Suppose we want to estimate a simple regression model by OLS and the selected model is the true model. Randomly trimming data does not change the unbiasedness property of the coefficient. However, when we trim the data in a certain way, would the unbiasedness property of the coefficient change?
To give an example, say ... |
I have a biased MLE procedure which is embedded in an EM algorithm. Since the MLE is biased the EM algorithm does not converge, so when it reach the real value $x_0$ it estimates $x_0 - \epsilon$ and the EM estimations keeps decreasing rather than staying at the real value.
Do you know any way to compensate this biase... |
I am very new to Machine Learning, and this is my first project on which I am working. I am trying a binary classification problem, trying to predict claim(yes/no) from an insurance dataset. In my dataset, I have about 7% positive class (1534 Positive datapoints, 21076 Negative datapoints). I have 7 features (2 numeric... |
To make the example very simple, let's say that we are given:
P(player 1 winning any point) = 0.75
P(player 2 winning any point) = 0.25
and also, to simplify, let's assume that these values remain fixed, regardless of who is serving etc.
Now it would be very straightforward to perform Monte Carlo simulations to estim... |
I am trying to test if there is any significant difference between the areas under two curves.
x-axis: length of stay (los)
y-axis: percentage
curve1: control group
curve2: intervene
Any idea how can I do it?
Thanks!
|
$\newcommand{\E}{\mathbb{E}}$I was dealing with derivations for the variational parameters in the model proposed by Airoldi, Blei, Fienberg, and Xing, 2008 for overlapping communities using a mixed-membership-stochastic-blockmodel, and I was a bit confused in terms of treating the $z_{p\rightarrow q}$ and $z_{q\rightar... |
I want to do clustering based on the similarity kernel $K(x,y)$, but on know from my ground truth labels that for 10-20% of the data the most similar data samples are not in the same class (based on the used metric).
So does it mean that clustering for this data using a that similarity kernel would be a wrong choice? ... |
I'm dealing with time series data about sales in a supermarket.
When I fit the model using auto.arima(data), I don't get any seasonal component (weekly) and if I impose a seasonal component I get 'no arima suitable model was found'.
Then I fitted a new model, ARIMAX, using 6 day of week regressors( I omitted one to a... |
I'm very new to machine learning (this is my second project and only the first significant one) and here's the problem I'm currently dealing with:
I am evaluating the performance of a model that outputs a percentage as a final result (which is not meant to be thresholded to create separate categories). This result is c... |
I have a group of 20 subjects that is measured twice (pre- and post-treatment). Each time the measurements are proportions. Values range between 10% and 40%. Both variables are not normally distributed. I would like to know if there is a difference pre- to post-treatment.
How can I compare those two dependent variable... |
The following is from Section 2.2 of the Auto-Encoding Variational Bayes paper,
It says the gradient of the lower bound w.r.t $\phi$ is a bit problematic because the Monte Carlo estimator exhibits very high variance.
Why? Is it because sampling from $q_\phi(z|x)$ is of high variance? What about the gradient w.r.t $\t... |
I'm given a dataset of 200 million training examples. The stochastic gradient descent method requires me to sample these randomly, to avoid it gets 'stuck'.
First and for all, I don't see how it gets stuck. So the fact the sample needs to be random, and I cannot just traverse the dataset in a sequential manner is a ri... |
I am hoping that someone might be able to provide me with some assistance. A colleague of mine was told to use a GLM of family binomial and a logit link function for some of the data they submitted in a paper. They are looking at the effects of temperature regimes on the proportion of seeds that germinated of an endang... |
Here is the problem:
A student is worried that the metro system might not operate properly
when he goes home on a given day. There are two reasons for his
worries: it is really Cold outside, and they may be working on the
construction of metro Extension. He estimates that the risk of
failure due to the cold we... |
What does U stand for in Mann-Whitney U Test? I can't seem to find the definition of "U" in any site.
|
In node-based measures of semantic similarity, information content ($IC$) of a given term ($c$) can be computed as:
$$IC(c) = -log~p(c)$$
Where $p(c)$ is the probability of occurrence of term $c$ in a corpus.
This method, described by Resnik, has been applied to biomedical ontologies. In this context, investigators ca... |
I am performing a regression analysis on some macro economic factors with default rate. When I predict the default rate from regression equation I am getting a negative default rate. As you know default rate can not be negative. Can anyone please suggest me what is the best way to deal with this (negative default rate)... |
According to this UCLA tutorial exact logistic regression (elrm::elrm in R) should be prefered to the logistic regression glm(... ,family = binomial)in R if
the sample size is small AND/OR
Some cells are empty
My questions:
What does small sample mean in this case (e.g. n<30 or n < 300 or n<3 000)
If exact logistic... |
I think I understand the perfect separation problem in logistic regression and answered my own question in this post from optimization perspective.
Is there any intuitive explanation of why logistic regression will not work for perfect separation case? And why adding regularization will fix it?
However, I still do not ... |
I'd like to rank 100 objects according to 20 variables. I chose a weight for each of this variable. As these variables can have very different values (some are a percentage while others are real numbers), I normalized them (mean of 0 and variance of 1) and I computed a weighted sum which was my ranking.
I saw that the ... |
I am reading about Bayesian inference and I came across the phrase "numerical integration of the marginal likelihood is too expensive"
I do not have a background in mathematics and I was wondering what exactly does expensive mean here? Is it just in terms of computation power or is there something more.
|
The binomial distribution has the interesting property that it is skewed for probabilities unequal. For me as a decision scientists this means that if $100$ individuals repeat the same bernoulli experiment $10$ times, then the majority of individuals will (on average) see the event less often than expected if $p < .5$... |
I am trying to find a proper sample size for a project I'm working on and just realized that the values I have calculated are significantly different from an online calculator (which is supposed to be the same).
If I calculate the sample size in this online calculator, the result is 1.6 million, whereas if I use the sa... |
I'm confused with the notation for estimators in Chapter 6 of Murphy's "Machine Learning: A Probabilistic Perspective":
In section 6.2, he initially refers to an estimator as $\delta$ in the beginning of the section.
...is computed by applying an estimator $\delta$ to some data D, so $\hat{\theta} = \delta(D)$.
Late... |
I have been banging my head against the wall these pas few weeks trying to fit regressions to model outputs and I can't get the parabolic trends out of my residual plots.
First things first:
My model outputs the Carrot Color based on Soil Quality and Soil Temperature inputs.
Plots of model outputs:
So I tried finding ... |
This is a basic epidemiology question. Please forgive my ignorance.
I have a data set - the yearly incidences of a (rare) disease over an 11 year period.
Plotting these values on a graph, it is difficult to tell whether the incidence is increasing or just randomly varying, year on year. The value in year 11 is higher t... |
By Basu's theorem, we know that any ancillary statistic is independent of a statistic that is both sufficient and complete. I was wondering if the assumption of sufficiency and completeness can be relaxed.
If $T$ is a complete statistic for a family of distributions $\mathcal P = \{ P_{\theta} , \theta \in \Theta \}$,... |
I want to check that the following limiting behaviour for Erdos-Renyi graph with parameter $ER(\lambda/n)$ for $n \to \infty$ :
$$\Delta_n \to Poi \left(\frac{\lambda^3}{6}\right)$$
agrees, where $\Delta_n$ - amount of triangles in the graph.
I made few simulations and stuck with 2 problems:
I do not know how to creat... |
With the definition of the KL divergence between a model probability density function (pdf) and the data pdf
$$D[p|q] = \bigg< \log \frac{p(x)}{q(x)} \bigg>_p = \int_{-\infty}^{\infty} p(x) \log \frac{p(x)}{q(x)}dx$$
taken from this paper*, I'm trying to show that the gradient descent on an arbitrary parameter $x$ is g... |
I'm doing meta-analysis for a treatment done in seeds. I have approximately 130 series with value of the control mean (Xc), its treated homologous mean (Xe) for crop yield and the number of replications (Nc and Ne) of each experiment which I'll use the number of replications as "sample size”. From those 130 studies, I ... |
How to measure confidence intervals for time-based process
I have a process for which I'm measuring a key variable (X), which is the error of the process, every 4 seconds. The value of X(t) at a particular time t is impacted to some extent by random variables, but it's also a function of the state of the system at time... |
I want to produce a scree plot to assess if there is an 'elbow' in the eigenvalues to aid in my identification of the number of PCs to retain.
However, upon reading further into the topic, I realised that the eigenvalues are only plotted when the correlation matrix is used and that the log of the eigenvalues is require... |
I have a neural network I am training on some time series data. Naturally I want to sequentially mini-batch this data if at all possible.
However, it seems that if the data size isn't a multiple of the mini-batch size it's recommended to sample from other batches (here). This works for data without time dependency, but... |
From Rohatgi-Saleh's book on probability and statistics:
Def: The sample space of a statistical experiment is a pair $(\Omega,\mathcal S)$, where
(a) $\Omega$ is the set of all possible outcomes of the experiment.
(b) $\mathcal S$ is a $\sigma$-field of subsets of $\Omega$.
I wish to know why a $\sigma$-field $\mathcal... |
I have questions regarding the dendrogram and the cut-off related to hybrid hierarchical clustering performed on data, as depicted below and taken from this paper
Questions regarding Panel A (dendrogram)
The clustering itself is done using the Euclidean Distance - however the dendrogram is depicted using the squared ... |
Any general material on how to update with multivariate normal priors would do., such as text book chatpers or paper, notes etc. I tried to google, nothing similar/relevant was found.
I read this in a paper(Erdem 1998) but could not understand how they derive the posterior upto to time T. No idea how to type equations... |
I have a survival-time dataset where entities (countries) are measured at discrete intervals (years). I'm interested in examining the effect of some fixed treatments (i.e. ones that occur at the beginning of each entity's spell and remain constant until failure time). I've fit a Cox proportional hazards model (using ... |
I am interested in creating a new scale in a field that is overwhelmingly understudied in the research literature. I would like to test the convergent validity by modifying another survey instrument from a related, but not identical, field of research. Is it still possible to get useful information about convergent v... |
I'm using the bag of words for text classification.
Results aren't good enough, test set accuracy is below 70%.
One of the things I'm considering is to use POS tagging to distinguish the function of words. How is the to go approach to doing it?
I'm thinking on append the tags to the words, for example the word "love", ... |
Suppose I am calculating the p-value of a Wilcoxon Rank-Sum test where $W_s = 23$, $n=4$ and $m=5$ suppose that we have:
$pvalue = P(W_s \ge 23 | H_0)$
The way I manage to get to the right answer is to use the property that $W_s$ is simetrical around $n*((n+m)+1)/2$ and get:
As $n=4$ and $m=5$, $n*((n+m)+1)/2 = 20$
... |
I head an idea but couldn't find it on the internet. Is it common or beneficial to increase/decrease alpha (as in alpha*L2_norm) for each consecutive layer of a neural net?
For example, when we detect edges in images we don't really need to regularize much since maybe small features (lines, circles etc) are fairly com... |
I measured 30 samples each with 3 devices. The devices are the same make and model, just different units. How do I statistically test if the devices measurements are the same or not? If I had two data sets to compare, a simple paired t-test works great. I've read that running three paired t-tests (1vs2, 2vs3, and 3vs1)... |
It is not entirely clear, nor I have not found a place in which the information was collected into a single thread, so I decided what to pay attention to this problem here.
Various forms of calculations eta-squared (not partial eta-squared which SPSS gives in outputs!) need generally calculate the sum of the squares or... |
Suppose I have information about the following two normal distributions:
Red { Mean = 7.4, Std = .501 }
Green { Mean = 9.7, Std = .465 }
What can be stated about the overlapping area depicted in the diagram below:
The area of overlap is 9%.
The question I am trying to answer is whether the likelihood that the true ... |
My current understanding is
1) if strata are not specified, then boot randomly selects rows with replacement from the entire dataset. If dataset is actually stratified then boot would often return uneven sample sizes. In contrast 2) if strata are specified, then boot randomly selects rows with replacement from within e... |
I have data that is non-IID, and I want to estimate if the dependence is bad enough that it will have a noticeable effect on a fitted classifier. I don't think the exact model type will matter in this case, but for argument's sake let's say I'm using elastic-net logistic regression. In this case the dependence takes th... |
I am developing a composite score that pulls together multiple measures into one score for each group. Each measure is constructed as a percent (20% of customers met the measure, 60% of customers met the measure, etc.) While each measure is a total population, not a sample (e.g., all customers who bought product A, all... |
My current knowledge is Linear Algebra, basics of statistics and Machine Learning (Andrew Ng's ML Coursera).
I have a very good understanding of classic PCA and I know how to implement it in python or Matlab. However, every time I watch a video or read a paper about Robust PCA, my mind just goes blank due to many equat... |
I'm currently reading the seminal Lu & Ades network meta-analysis paper. It proposes a bayesian hierachical model for dichotomous outcomes which treats each study's arm as an (conditionally) indepenent binomial sample $ r_{ik} \sim Bin(p_{ik}, n_{ik}) $, $i$ being of the index for the study ($i = 1, \ldots, N$) and $k$... |
I have a setup where I am making X number of measurements over a particular time frame. These X measurements are success/failure measurements. For example, in the period of an hour I might get 422 successes and 584 failures. Then I calculate the success rate for that hour of measurements being 0.72260273972.
Up to wha... |
For example, if I had a set of intervals prices, and then we need to do a forecast for the next period time.
|
I am looking at the influence of likes of Facebook of various websites on some dependent variable with values ranging from zero to thousands. So the number of likes can be zero for certain website and can also be more than a thousand. I suspect the appropriate analysis is negative binomial. But I am not 100% sure.:) Al... |
I have the following data in R:
df <- data.frame(Year = 2012:2016,
Sub_A = c(221.0317, 310.5392, 247.7214, 184.7109, 243.2550),
Sub_B = c(276.4308, 322.6342, 227.5891, 184.3510, 188.2100),
Sub_C = c(127.01029, 99.89520, 70.19430, 73.02120, 76.79611),
... |
In class we learned that if we want to perform a randomisation/permutation test on the hypothesis:
$H_0: y_{ij} = \mu_i + e_{ij}$ vs. $H_1: y_{ij} = \mu + e_{ij}$
Where we calculate the test $F$ statistic for each permuted data, it can be shown that for this simple case $F=\frac{(RSS_{reduced}-RSS_{complete})/q}{RSS_{c... |
Consider a logistic regression on these data:
X1 X2 Y
1 0 0
1 0 1
0 1 0
0 1 0
0 1 0
0 1 1
1 1 1
R accepts three different representations of the data: one row per table entry, and two condensed representations (one with weights, one with successes and failures). In my mind, these three specifications sho... |
Suppose I'm measuring bone densities from patients and normal persons. And for each person, I'm measuring twice, once without weight, and once with weight. So, what model should I use to estimate bone densities under each condition (patients without weight for example), and also compare the difference.
I thought of an... |
I'm trying to recreate some results from a paper, namely Table 1 from "Cause-Specific Cumulative Incidence Estimation and the Fine andGray Model Under Both Left Truncation and Right Censoring" Geskus (2011).
At the end of the paper is a link to files, some of which I assume are data files. Within these files are two wi... |
A question regarding bootstrap confidence intervals. If the hypothesis is comparing two means (e.g. the difference in calorie intake between males and females), should the value 0 be used or the difference in means be used to refer to at the end when we compare it to the 95% confidence interval.
In my instance the diff... |
The equations for calculating sample and population standard deviations are slightly different:
$ s = \sqrt{ \frac{1}{n-1} \sum_{i=1}^{n} (x_i - \overline{x})^2 } $
$\sigma = \sqrt{ \frac{1}{n} \sum_{i=1}^{n} (x_i - \mu)^2 }$
So why are calculating the sample and population mean, and sample and population median, the s... |
I am working on an operations issue. We process patients in care and pay close attention to their discharge rate, which is more or less calculated as an incidence rate (discharges per 100 patients). We also pay close attention to the length of stay of patients in their facilities.
I don't have a clear understanding of ... |
In an experiment two independent groups were asked to perform a task. In group A there were 15 subjects and in group b there where 13 subjects. There were 15 successes in A and 2 successes in B. The appropriate Agresti-Coull 95% C.I. for $p_A$ - $p_B$ is (using $z_{0.975}$ = 1.96)
The possible choices are:
(a) (0.7888,... |
After applying the ADF test for nonstationarity, I find that for both the test at level and the test at first differences, all my variables are both I(0) and I(1). I.e. the p-value is below 0.05 in both cases.
Is this an issue?
|
I'm doing linear regression on compositional data using log-ratio transformation with census data. The IVs are compositional (percents summing to 100). The DV is non-compositional and continuous.
The alr and clr results are more easily interpreted. They all produce the same measure of fit. I'm inclined to go with alr ... |
The R function mvrnorm from the MASS package generates random numbers from a multivariate normal distribution. It expects a covariance matrix as an input, but I want to give it a correlation matrix. Is this statistically valid?
My understanding is that correlation is just a standardized form of covariance.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.