instruction stringlengths 9 38.7k |
|---|
I have a linear mixed-effect model in R with two continuous fixed-effects and one random effect, like this:
model<-lmer(y~x1+x2+(1|r),data)
To graphically display the independent effect of x1 on y, while controlling the effects of x2 (fixed effect) and r (random effect), is it appropriate t... |
I'm using a one sample t-test to compare individual case specimens to a know sample. The sample is skewed data which contains the absolute value of differences between left/right continuous data. The t-statistic being calculated here is t=case1 - mean (sample) /sd (sample). Given that the sample size is very large (mor... |
This a more general question: I often deal with experimental data (subject to uncertainties in the measurements) that have to be transformed using a function, to calculate a parameter (which can, for example, be used by others to predict the behavior of a system/process). The propagation of the measurement uncertaintie... |
Ridge regression shrinks regression coefficients by a set proportion, and never to zero. Given this, its key benefit seems to be to reduce prediction error by decreasing the sampling variability of the parameter vector, at the cost of some bias.
Given data sets of 100,000 records or larger, the sampling variability of ... |
I have this distances:
install.packages("HSAUR");library(HSAUR)
b=round(scale(pottery[1:6,1:5], center=FALSE),2)
b1=round(dist(b),2)
> round(dist(b,method="euclidean"),2)
1 2 3 4 5
2 0.34
3 0.24 0.14
4 0.36 0.10 0.16
5 0.33 0.15 0.19 0.24
6 0.45 0.43 0... |
I would like to know what kind of test I can use to verify my findings. In general I have a two group of people. One is a control group the other one was treated with a drug. After some period of time we collected samples from them (urine, blood, spit, etc...) and we calculated the ratio between some metabolites which ... |
I did a logistic regression.
$Y = \beta_0 + \beta_1X_1 + \beta_2(X_2=1) + \beta_3(X_2 = 2)$
All of the predictors are categorical. $X_1$ has two level e.g. Yes/No, $X_2$ has three levels e.g. Low/Medium/High.
The likelihood Ratio Tests showed one of the IVs is not significant (Chi-square = 4.73, df = 2, p=0.094). Let... |
I've been searching for weeks now but I can't find a proof for the following relationship between the quantiles of the chi-squared distribution and the quantiles of the standard normal distribution:
$$\chi^2_{n;q} \approx \frac{1}{2}(z_q + \sqrt{2n-1})^2$$
$z_q$ is the q-quantile of the standard normal distribution, wh... |
There is a statement in the book Data Analysis by D.S. Sivia that I presently not understand.
The statement occurs during the consideration of an example concerning kangaroos, first proposed by Gull and Skilling (1984), in an introduction of the principle of maximum entropy.
The example goes as follows:
Information:
A ... |
I'd like generate samples from the blue region defined here:
The naive solution is to use rejection sampling in the unit square, but this provides only a $1-\pi/4$ (~21.4%) efficiency.
Is there some way I can sample more efficiently?
|
For simplicity, let $X$ be a continuous random variable and assume that
${E}[\ln(Y)|X] = \beta X$, i.e., the conditional expectation of $Y$ given $X$ is proportional to $X$.
According to many questions/answers on the interpretation of log-linear models, see https://stats.stackexchange.com/search?q=regression+interpret... |
Are Personalized Pagerank and Random Walk with Restart really the same thing? From this source, it seems to be: http://web.eecs.umich.edu/~dkoutra/papers/fabp_pkdd2011.pdf
I've used the RANKS RWR function and the igraph personalized page.rank function and have gotten different results, but it is not clear to me why if ... |
I want to regress a variable $y$ onto $x,x^2,\ldots,x^5$. Should I do this using raw or orthogonal polynomials? I looked at the question on the site that deals with these, but I don't really understand what's the difference between using them.
Why can't I just do a "normal" regression to get the coefficients $\beta_i$ ... |
As a market researcher I am frequently around discussions on multivariate techniques, regressions (linear and logistic), working with survey data, choice based designs, weighting data and occasionally Bayesian analyses.
Is anyone aware of a good book or few books that will take me from surface level knowledge deeper i... |
I am trying to understand the concept of Gaussian Basis Functions on regression models. From the equation:
$h_w(x) = \sum_{k=0}^{K-1} w_k \phi_k(x) = w^Tx$
where $\phi(x)$ is a Gaussian Basis function $\phi_j(x) = exp \{-\frac{(x-\mu)^2}{2s^2}\}$
Say my input is a vector X, with 10 features, and I want to implement 5 ... |
Can you advise some simple, robust maybe not perfectly accurate method for the automatic time series forecast. It should consider seasonality and trend and works both for stationary and non stationary data. Some data are seasonal, and some not, the season period is very different. It may not model residual or cyclic p... |
Let $X_i$ for $i\in\{1,\dots,n\}$ be a set iid normally distributed random variables with mean $\mu$ and variance $\sigma^2$. Let $Y_j$ for $j\in\{1,\dots,2^n\}$ be a positive linear combination of the $X$'s, i.e.
$$
Y_j=\sum_{i=1}^n c_{ij}X_i
$$
with $c_{ij}\geq 0$. I am interested in the properties of
$$
Z=\max_j{Y_j... |
I am considering reading either Agresti's Categorical Data Analysis, or Long's Regression Models, but I want to know how much do these books limit themselves by focusing on 'categorical data'.
For example, if we have data on the number of children that a family has, is that categorical data? Or what if we have some pla... |
Why do we use standard deviation instead of variance?
sample variance (S2) =
standard deviation (S) =
|
I have looked around but I cannot seem to find a conclusive answer. Does the Hypergeometric distribution assume that the probability of selecting a defective item at any point is equal to that of selecting a non-defective item?
|
I am using the mantel.test() function in the "ape" package in R to compare the similarity of two matrices. The function returns a p-value and Z-statistics. While the p-value is understandable, but I am not sure what the significance of the Z-statistics is. i.e Does positive high Z-statistic value means that both matric... |
So, to be honest, I have not figured out how to calculate the probability of the following problem:
Knowing a species has a 20% probability to be sick, and amoung the sick subjects there is a probability of 60% to be young subjects and a 40% of adults.
In the same species, there is a 80% probability to not be sick, ... |
Let's say you have a machine that runs on an algorithm with inputs that can be modified. Every 3 months, that machine produces 40,000,000 widgets. You can monitor if the widgets are being made correctly immediately after each one is produced. How many days (hours?) should I let the machine run to see if the latest inpu... |
I'm comparing two test methods, A and B, for asphalt density against the reference "true" density. I have paired measurements for each method and the reference. From a paired t-test of Method A vs. Reference, the p-value is 0.40. For Method B vs Reference, the p-value is 0.0007.
So, I reject the null hypothesis that M... |
I have a dataset that is unbalanced. I am testing how temperature and the size of a carcass affect the development rate of maggots. The duration is the time spent in a particular development stage of the maggot. I found the higher the temperature and the larger the carcass, the faster development (shorter duration).
My... |
I have been tasked to put together a monthly forecast model. I'm hoping to use some of the models in scikit-learn for this.
My original dataset is daily level and very rich. If I aggregate it to month-level, this gives me only 24 usable observations so many models may struggle with that. It feels like I should be able ... |
I have a small sample of 19 observations, with a mean of 8.105 and sd of 6.064. I want to calculate a 95% CI for the mean. My data is not normally distributed, according to the Q-Q plot. Assuming normality, I get a CI of [5.183,11.028]. I tried calculating a CI using bootstrap, but I am not sure I did it okay. The resu... |
I go on a safari. Each day, I see various animals, and a keep track of all of my observations. Assume that each time I make an observation I see a single animal. At one point, I've made a total of 153 observations and I've seen 127 rabbits, 22 gazelle, 3 lions, and 1 tiger (4 different species). This makes me curio... |
I am trying to calculate an R2 value to explain the variance in my model for a GLMM. My model is run using the glmmADMB package in R since the model is zero-inflated and overdispersed.
I have run a full set of models for my ecological data set and have selected my best model based on AICc.
Now that I have my best mode... |
I am running a random forest in SAS using 6 variables, one of them being a score that works very well on its own. When I train the forest and validate on a test set, I'm seeing the following in terms of rank ordering the dependent var:
RANDOM FOREST VALIDATION
scorerank Bads Total BadRate
0 288 3878... |
I am seeking to compare how two estimators perform on a test set. These estimators are approximately normal -- they produce both point estimates and $\alpha$ intervals.
One would like the point estimate to be very close to the true value, but one would also like the interval to cover the true value at the nominal rate... |
I've been considering two approaches to solving inverse/parameter-estimation problems, and I'm curious to the connection and/or difference between the two approaches.
Set up:
Say we have a forward model, $F$, that gives a response, $y$, given some unknown parameters to be estimated $\theta$, and uncertain known parame... |
I am familiarizing myself with quantile regression. I understand it is first and foremost an estimation method such as e.g. OLS. But I wonder about the probability distribution models for which quantile regression makes sense.
To use an analogy, the OLS estimator
$$
\hat\beta^{OLS}:=(X^\top X)^{-1}X^\top y
$$
is a mini... |
I know that the equations for obtaining the RAW regression coefficient of the slope and Pearson's correlation (r) are different, but conceptually, how do those two differ when you only have two variables?
Please let me know and thank you for your help!!
|
Let $X_i\sim N(\mu,\sigma^2)$, for known $\sigma^2$. We want to test $H_0: \mu=\mu_0$ vs $H_1: \mu>\mu_0$.
By Karl-Rubin theorem, we know that the UMP test is given by the rejection region $W$ defined by $T(X_1,...,X_n)>t_0$, when the ratio $\frac{f(x_1,...,x_n|\mu)}{f(x_1,...,x_n|\mu_0)}$ is a non-decreasing function ... |
I am trying to learn T statistics and T test using simulation. Why my simulation shows the population distribution does not matter? (In cal_t_stats1, sample was coming from normal distribution and cal_t_stats2 sample was coming from uniform distribution. In both case, it satisfy T distribution with degree of freedom N-... |
I would appreciate any help. I am trying to fit a nonlinear mixed model to some experiments. I have adopted a Gompertz function (y=Asym*exp(-b2*b3^x)), and the data used is 3 years of experiments (the doses were not always the same and I removed some outliers before any analysis). Moreover, since the measurements were ... |
I understand $P(A\cap B)/P(B) = P(A|B)$. The conditional is the intersection of A and B divided by the whole area of B.
But why is $P(A\cap B|C)/P(B|C) = P(A|B \cap C)$?
Can you give some intuition?
Shouldn't it be: $P(A\cap B \cap C)/P(B,C) = P(A|B \cap C)$?
|
I have a Chinese Restaurant Process with (unknown) concentration parameter $\theta$. After $n$ customers have been seated, I observe the number of non-empty tables and the number of people at each table. Now I'd like to estimate $\theta$.
How can I estimate $\theta$? e.g., how do I compute the maximum likelihood est... |
So I have a question in the exam of Statistics that I dont know how to do it:
There is $X\sim \text{Poisson}(\theta)$.
I want to estimate $\exp[-\theta] = P(X=0)$.
I know by the maximum likelihood method that a consistent estimator is $\exp[-\bar{X}]$.
Now is asked me to use R commands to calculate an approximation of... |
I have a problem with Time Series Analysis. Here is the link to my data. It is monthly data, starting from June 2008 until December 2016. I'm trying to build the ARIMA model on it.
First, I split the data into training and testing sets. The testing set contains data from 12 months in 2016.
# Spare the last year for tes... |
I am trying to find $\partial/\partial \theta \log \ L $ where $L = \pi^y(1-\pi)^{1-y}, \pi = \frac{\exp(X \beta)}{1+\exp(X \beta)}, \ X$ is $ N(\mu,\sigma^2) \ \& \ y$ is binary.
I first plugged in $\pi$ in terms of $X, \beta$ then considered $\log L$ and simplified. This is what I got after simplifying, $\log L$,... |
This is not a math question, this is a methodology and philosophy question.
Sometimes I see language describing things as "very statistically significant" because the p-value is extremely small.
But in the way that a p-value of 0.06 should not be called "almost significant", I wonder if a p-value of 0.00006 should a... |
I am seeking advice on structuring the random-effects component of a mixed model in R. The data that I am modeling come from an ecological experiment with a repeatedly-measured split-plot design. At each of 5 sites (site = A, B, C, D, E) experimenters set up 2 treatments (x = treatment, control) in separate plots. A re... |
I have input X, with 22 binary features and 70000 examples. The target y is one of 4 possible categories. They are unbalanced, with the most common having a bit more than 51% of the data. When I train a naive bayes classifier, it's cross validation accuracy is 47%. I initially thought it was overfitting, but the train ... |
I have calculated the ICC(1,1) reliability of my groups A and B over 2 trials using SPSS (syntax below), and found (with 95% CI's):
ICC(1,1) Group A = .832 [.766, .881]
ICC(1,1) Group B = .801 [.725, .858]
RELIABILITY
/VARIABLES=trial1 trial2
/SCALE('ALL VARIABLES') ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 T... |
I have a linear least squares model of the form $\hat{y}=\hat{\beta}X$ with multiple predictors in $X$ and I want to know if, based on $\hat{\beta}$, I can determine the relative importance of each predictor. This question suggests that if all predictors are independent and my data are standardized, I can use the magn... |
Most articles that I have found on the subject of testing for the independence of two events state if $P (A \cap B) = P (A) P(B)$, then $A$ and $B$ are independent. If I only had estimates of $P (A\cap B)$, $P (A)$ and $P(B)$ collected from sample data rather exact probabilities calculated using the entire population, ... |
Could you help me to proof that $COV(\bar{X},X_{(1)})$ = $Var(X_{(1)})$? Here, let $X_{1},...,X_{n}$ be random sample from two-parameter exponential distribution with parameters $(\lambda,\theta)$. The pdf. is $f(x)= \frac{1}{\lambda} \exp{(-(x-\theta)/\lambda)}$. I know that $X_{(1)}$ follows two-parameter exponentia... |
I used to hear some Statistics professor complaining about Machine Learning theories: "It is just Non-parametric Statistics". And, when I read Vapnik's book "Statistical Learning Theory", it seems he has been influenced a lot by non-parametric statistics. So, would anybody explain the similarity and difference between ... |
I have dozens of groups of an observed variable. The number of observations in each group varies and the variance between groups is different. The mean of each group is the variable of interest. The groups have a rank 1,2,...,k.
I need a test of whether the mean increases, decreases, or stays the same as the rank incre... |
Weight of people question:
Mean: 82kg, standard deviation 18kg.
75% of all people are at least how many kg?
Using the table, I get a z score of 0.67 or 0.68. So my answer is either 94.06 kg or 94.24 kg both of which were marked as incorrect. Am I doing something wrong, or thinking about it incorrectly?
0.68 = (x-82)/1... |
At a post office, customers enter a single line waiting to be served by any one of two clerks. Every minute there is a 60% chance that a new customer arrives. If there is no one in line and a server is free, the customer does not wait to be served. When a customer is being served there is a 25% chance every minute t... |
We already know that the estimator of quantile regression defined by LAD (Least Absolut Deviation),
minimizes sigma |e_i|.
But I also found a formula that minimize with an integral, not a sigma
Actually I can't understand why there are 2 different formulas.
In what case that use a sigma or integral ?
Are the distri... |
Suppose I have several models, one of them $M$ has a 100% training accuracy.
So regardless of how a stack the models, the stacked model is just M. e.g. If I use a linear model to stack them, then the new model is just $\hat{y}_\text{stack} = 0\cdot 1 + 0 \cdot \hat{y}_1 + 0 \cdot \hat{y}_2 + \dots + 1\cdot \hat{y}_M$
A... |
In my experiment I have 3 types of soil and I fertilised all of them with the same fertiliser at the same application rate. I then sub-divided my 3 soil samples by adding one type of soil amendment at 3 different rates: "none" (i.e. fertiliser only), "rate1" and "rate2".
My question is: can I treat the amendment rate ... |
Can someone please help me on how this solution gives 50 as a result?
|
I am using an estimator which assumes that conditional variance is proportional to conditional mean. My model include more than ten variables, where the depended variable and some of the independent variables are continuous, but most of the independent variables are dummies.
Now i would like to check whether this assum... |
I have multiple short (say, length <100 points) time-series as exemplified below. All the series are made of values measured in the same units. I need to find some criterion for judging their "flatness". Preferably, I'd like to find single numeric value, so that I can find some decision boundary that let's me distingui... |
Suppose I have a relationship between 3 variables:
A = B + C
and that I know that B and C are related with an other variable D that has opposite effect on B and C:
Increasing D will increase B but decrease C.
Now if I regress A on D (D=IV), D has a strong negative effect on A. So I can desume that the negative effect o... |
I am working with 46 variables ( remote sensing time series data - 8 days composite ) and around 466 samples, and using it to perform classification into 4 classes (1, 2, 3, 4). I want to reduce these features to most important 10-20
I was assuming that I would consider those features with highest MeanDecreaseGini and... |
When performing polynomial regression for $Y$ onto $X$, people sometimes use raw polynomials, sometimes orthogonal polynomials. But when they use what seems completely arbitrary.
Here and here raw polynomials are used. But here and here, orthogonal polynomials seems to give the correct results. What, how, why?!
In con... |
This question relates to my other question, where I actually noticed a mistake. Suppose I have a random variable $X\in[0,1]$ and a signal $S\in[0,1]$ bearing some info about $X$. I know $f_X(x)$ and $f_X(x|s)$. Can I calculate $f_S(s|x)$ and/or $f_S(s)$?
To be more specific, suppose I have uniform prior and beta poster... |
When we have data with a lot of missing values, as I see it, the missing values are likely to be observed with some systematic properties. Maybe some sex is more likely to not answer a question and leave it blank, compared to the opposite sex, and so on. I'm just wondering, why exactly is it necessary to test for the r... |
I implemented a metroplis sampler for a 1D gaussian mixture, the target distribution looks like this:
I use a 1D normal distribution as propsal, that is each candidate is sampled from a normal distribution centered around the last accepted sample with a certain standard deviation.
If I use a small variance for the pr... |
In the Bayesian approach the posterior distribution $P(\theta|x)$ of some hyper-parameter $\theta$ is given by:
$$P(\theta|x) = \frac{P(x|\theta)P(\theta)}{P(x)}$$
Where $x$ are samples of a random variable $X$. In many cases the posterior $P(\theta|x)$ can not be analytically computed and is instead calculated numeric... |
I want to understand the logic behind using a specific type of NB algorithm for a particular dataset. I read about Naive Bayes but still few things are unclear.
According to my understanding of NB algorithm:
1.Gaussian NB: It should be used for features in decimal form. GNB assumes features to follow a normal distribut... |
I am trying to compare numbers in two sets (X and Y) to test if numbers in one of the set are statistically larger than the others. However, some of the numbers are paired, and some are not. For instance:
Set X: X1, X2, X3, X4, X5
Set Y: Y1, Y4, Y5, Y6, Y7
number in "X1" represent pairings, so (X 1, Y1), (X4, Y4) and... |
In light of this question : Proof that the coefficients in an OLS model follow a t-distribution with (n-k) degrees of freedom
I would love to understand why
$$ F = \frac{(\text{TSS}-\text{RSS})/(p-1)}{\text{RSS}/(n-p)},$$
where $p$ is the number of model parameters and $n$ the number of observations and $TSS$ the total... |
I‘m doing mediational analysis on clustered (AKA nested/multilevel) data. The question I have is not specific to mediational analyses but applies to any kind of multilevel analysis.
I‘m assessing whether the effect of SES (socioeconomic status) on an outcome is mediated by another variable. SES is a continuous individ... |
I've two samples representing the distribution of tumor cell clones in two patient. In sample 1 I've about 10,000 clones - each clone has a relative abundance (so the sum of the relative abundance of all clones in one sample is 1). For sample 2 I've about 1,000 clones. The number of clones are different for the two pat... |
I'm trying to forecast multiple time-series with a hierarchical structure using the hts package by prof. Hyndman. However, the aggregation constraints are not sums but rather a complex formulation (output of a non-linear regressor) of those different levels in the hierarchy.
One of the motivation for using hts remains... |
In many papers on CNN,I have read that data augmentation is carried out on a per epoch basis. My thoughts regarding this were that data augmentation is carried out prior to starting the training procedure on the train set. What I mean is that split the data into train and test, and then augment the train data. Is carry... |
This question is in regards to the Deepmind paper on DDPG: https://arxiv.org/pdf/1509.02971v5.pdf.
Most (all?) implementations of the DDPG algorithm that I've seen compute the gradient update to the actor network by $\nabla(J)=\nabla_{\mu(s|\theta)}(Q(s,\mu(s|\theta))\nabla_{\theta}(\mu(s|\theta))$, where $\theta$ repr... |
I constructed a model of the form:
mdl.gam<-gam(sqrt(y) ~ s(x1,fx=FALSE,k=-1,bs="cs")+s(x2,fx=FALSE,k=-1,bs="cs")+
s(x3,fx=FALSE,k=-1,bs="cs")+s(x4,fx=FALSE,k=-1,bs="cs")+
s(x5,fx=FALSE,k=-1,bs="cs")+s(x6,fx=FALSE,k=-1,bs="cs")+
s(x7,fx=FALSE,k=-1,bs="cs")+s(x8,fx=FALSE,k=-1,bs="cs")+
... |
I would appreciate statistical advice on this problem.
I have 3 years of data taken in defined area: 200x200km. Area has been divided into 4 quadrants and each year 20 random fields in the area were sampled in each quadrant giving 80 samples total per year.
The outcome is the number of diseased plants out of 30. So t... |
I would like to operate a Granger causality for employment and growth rate from the first quarter of 2000 to the fourth quarter of 2013.
Can I do that? Is the time period too short? What is the minimum number of years (especially in monthly-quarterly data) required to operate VAR and Granger causality?
|
I am trying to simulate a dataset that matches empirical data that I have, but am unsure how to estimate the errors in the original data. The empirical data includes heteroscedasticity, but I am not interested in transforming it away, but rather using a linear model with an error term to reproduce simulations of the em... |
Here is my study design:
there are four soil plots - A,B,C,D
each plot is sampled for soil moisture at 15 locations
this soil moisture sampling is done for 10 rain events
I need to compare the soil plots A to D for statistical difference of soil moisture.
First approach - I took an average for each location within t... |
As far as I know, for classification problems, there's generally a lack of a measure of probabilities in machine learning models, unless a customized probability structure is designed. Random forest, however, has a unique way of estimating probabilities, by counting the number of times a specific class is voted by tree... |
A colleague has asked me to assess the data analytic approach taken by one of his students for a previous experiment. If you want to skip the details of the experimental design skip down to Data analysis Part 2 and My questions below.
Experimental design.
In its simplest form, the experiment consists of a single subjec... |
On this Wikipedia page on 'conjugate priors' the following notation is used for the posterior predictive of a normal random variable with known mean $\mu$ but unknown variance $\sigma^2$:
$$t_{2\alpha'}(\tilde{x}|\mu,\sigma^2 = \beta'/\alpha')$$
Here's my interpretation of the notation:
$\tilde{x}$ is a new i.i.d. vari... |
I am new to this website and to statistics as well. Currently I am writing a systematic review on complications and reoperations after distal radius fractures(Systematic review on the comparison of complications and reoperations after plaster casting, K-wire fixation, Kapandji intrafocal pinning, external fixation, dor... |
I have set up a model for a mutli-factor ANOVA, and now I am trying to see if it meets the assumptions. I have a histogram of my residuals, as well as a qqnorm plot. However, I am having trouble interpreting. The histogram looks as if it has outliers, but other than that is fairly symmetric. The qqnorm does not look no... |
I am working with a dataset with an endogenous categorical variable. I wish to determine whether removing a path from the model has a significant effect in the model. I read that the appropriate way of doing this is to fit a sem with and without the path and then compare them using AIC values. However I am encountering... |
In my study, I have two groups, one exposure group (e.g. population A with disease) and a non-exporure group (population B without the disease) and I am interested in the outcome "Death". Data are matched, therefore, for each patient with the disease there are up to 10 patients without the disease. I have calculated th... |
I know how to find it for the regression slope, and also that $Var(Y_i)$ is $\sigma^2$, but what is $Var(\hat Y)$?
|
In sparse representations, we like to find representation of the input where most elements are nearly zero. On the other hand, in some applications we prefer dense representations such as word embedding methods in NLP (word2vec for example). What is the merit of each of these representations and where each are preferre... |
I am an environmental chemistry who is studying the impact of process efficiency improvements of a specific sector on global warming potential (GWP).
A have data from 288 firms and I have already applied multiple regression analysis on this dataset to obtain information on drivers to energy efficiency.
Let GWP of a sp... |
I'm trying to compute the power of a proportion test by hand. The null and alternative hypotheses are below and I'm using a significance level, $\alpha$ = 0.05
$H_0: p_1 = p_2$
$H_a: p_1 \neq p_2$
Let's assume the true value of $p_1$ = 0.69 and that the true value of $p_2$ = 0.68. Based on this, we can calculate the es... |
I know you can estimate odds ratios based on logistic regression of case control data because the baseline risks cancel out. Does this mean that only the intercept is contaminated by the analysis of case control data in logistic regression?
And furthermore, does this mean that the predictions are all off by the same f... |
In the case where I have multiple samples of the same event, but they are very noisy, thus rather obscuring the curve/trend (or at least making it incredibly ugly and confusing), what is my best bet to clean it up (create a derived data set for the purpose of aiding visualisation/analysis/understanding)?
I figure that ... |
In my study that I am writing up for university:
There were a total of 204 participants, 96 female (47.1%) and 108 male (52.9%). The participants were aged between 20 and 125.
The problem I have is 125 is older than the oldest verified person. Do I include this in my descriptive statistics, and in the general data ana... |
I have a data set from a PC user that is related to the number of user files generated during a 3-year period. It stores how many files per day are created. There are some days when the user doesn't create files, and this is omitted from the data set. Using R, I created a variable with this data using
allday <- c(1,1,... |
Let $x_j,\ j\in\{1,\cdots,n\}$ be independent standard Gaussian random variables and $a_j,\ j\in\{1,\cdots,n\}$ be constants. What would a function $f$ and a standard Gaussian random variable $x_0$ such that $f(x_0)$ is a good approximation of the probability distribution of $\sum\limits_{i=1}^n e^{a_ix_i}$?
For small ... |
I am working on the system that collects optical emission spectra and classifies them into several categories. The classification success rate with the samples that are available to me at the moment is 100%. However, I am trying to future proof the system in case if the new requirements for additional materials to be c... |
This problem comes from something we do each Thanksgiving. This past Thanksgiving we had 19 (N) people at dinner. Each person writes something for which they are thankful and puts the slip of paper into a bowl. The slips are mixed up and each person draws a slip. This past holiday, someone got their own slip. My qu... |
I'm analysing data from a paper in which 4 raters; medical professionals, estimate the volume of an organ, they do this twice, for every organ. I want to compute inter-rater and intra-agreement on the results; there are six equations to compute ICC (as listed in Wikipedia):
Shrout and Fleiss Name in SPSS
conven... |
The random forest model is simply voting the response variable to be one class and the error rate is 19.22%. The rate is impressive, but I'm just wondering how I can make the model favor the second row and column more? Thanks.
randomForest(formula = y1 ~ . - y1, data = df1, ntree = 20000)
Type of random for... |
I am trying to compare the reliability of two different assessment methods (method 1 and method 2). Each method assesses task performance for a single cohort of students (N = 50).
For method 1, student performance is rated by 4 judges (who vary across students). The assessment method assigns students a numeric score.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.