instruction stringlengths 9 38.7k |
|---|
I want to compare performance a machine learning method and Autoreressive Moving Average-ARMA(p,q) for time series data.
I do such a configuration:
First I divide data into three part:
Trainig data(First %60 of data)
Validation data(%20 part of data)
Test data(%20 part of data)
Then,
for machine learning procedure:
... |
I encountered a problem where my PACF plot shows that the term is not significant at p=1, but significant at p=2 and p=3. Does this mean that I need to build an AR model that includes lag 2 and 3 but not lag 1?
|
I collected data on language attitudes to three languages in two moments of time, so the responders were the same. For two languages, the Bartlett test approved the homogeneity of variances, so then I conducted paired t-tests. For the third, the Bartlett test rejects the null hypothesis. Can I still conduct the paired ... |
Suppose that we have a dataset $D$ that we split on train and test, denoted as $D_{train}$ and $D_{test}$, respectively. We want to construct a predictive model and also estimate its performance.
Furthermore, assume that we can choose among many configurations $C=\{c_i\}_{k=1}^K$. A configuration is just a (possibly me... |
I want to compare a percentile metric for control vs treatment. Using bootstrap, I see two ways of doing so and wonder which one makes more sense.
Approach 1:
Every time:
Bootstrap the control group and get the percentile,
Bootstrap the treatment group and get the percentile
Compute the difference.
Repeat B times to g... |
I was trying to evaluate different classification models on MNIST dataset.
There are two datasets provided : train - 42000 images, and test - 28000 images.
I first divided the original training dataset (42000 images) into a (80:20 split ) of train_set (33600) and test_set (8400) .
I trained several models, from on trai... |
BIC criterion is defined as
BIC=$ k \ln(n)-2 \ln(L)$
where $k$ is the number of parameters, $n$ represents the number of observations and L is the maximized value of the likelihood function of the model.
Can I use BIC criterion if I have minimized value of the likelihood function? What about negative minimized value o... |
I use kalman filter algorithm, where I minimize the value of likelihood function. But after some iteration I got negative value of likelihood function. Is that a problem?
|
I feel like they are not synonymous, but I cannot intuitively explain the difference between "unbiased" and "exact." In other words, I am asking about the difference between the terms "unbiased" and "exact."
|
Suppose a random variable $X$ and a strictly monotone (and measurable) function $f$ in which $f(X)$ is always defined.
Does it necessarily hold that $f(X)$ is statistically dependent with X?
I should emphasize that the random variable is not necessarily equipped with addition, or multiplication, but can be considered ... |
I have the following data:
The response variable Y and the independent variable X2 were collected at state level (lowest level), while X1 are only available at country level.
The general form of my mixed effect model looks like:
Y = constant + x1 + x2 + random_state
My challenge is that X1 is only available at country... |
Let $f$ be a real valued function defined on a compact set $\mathcal X\subseteq \mathbb R^d $ (and for simplicity let's say $d=1$ for now). We don't know $f$, but can observe it through the (possibly noisy) values $y_1,\ldots,y_n\in\mathbb R $ it takes at some uniformly sampled $x_1,\ldots,x_n \in \mathcal X$. A standa... |
Suppose we have real-valued random variables $X$, $Y$, with noise $\epsilon$ that is independent of $X$ and $Y$ and $\mathbb{E}[\epsilon] = 0$, and measurable function $f$.
I am thinking about comparing estimates of $\beta$ in
$$Y = f(X;\beta) + \epsilon$$
with estimates with $\beta$ in
$$\operatorname{rank}(Y) = f(\op... |
It is an easy computation to show that given some data sampled from the binomial, gaussian, Poisson, or exponential distribution, the MLE of the mean of the distribution is the sample mean. However, for the uniform distribution, this is not true (the MLE is the average of the maximum and the minimum of the data).
So, t... |
We crossed fruit flies in genetics class and I ended up with very different results than the expected values. For some values, I had 0 observed when the expected was more than 0. Would I go through with the statistical analysis and just do (0-E)^2/E? And I also got an unexpected phenotype not anticipated in the punnett... |
Can anyone provide me with a link or a book or steps to collect proofs for the upper bound, lower bound of a problem or how u come up with a formulation and prove it? I think my math foundation is not good but idk where to begin. The only thing of math proofing I had to learn was in secondary school. Smt like an equati... |
I have to do some distribution fitting of 120 data subsets.
They take the form of financial transactions amounts and timestamps.
Timestamp, BTC, EUR, USD
I know from some other analysis that each subset will have different distributions, but the format of the data is the same for all data sets.
My goal is to get a best... |
Reading Helsel STATISTICS FOR CENSORED ENVIRONMENTAL DATA USING MINITAB AND R,
at page xviii the author writes:
The Figure i4 shows concentration (y) levels versus distance (x)
downstream. What happens when the data are reported using two
detection limits of 1 and 3, and one-half the limit is substituted for
the censo... |
I am interested in understanding the relationship between a group of four variables - one is a response variable , Y, and other variables (A, B and C) are being considered as predictors. It has been previously shown that changing A changes Y, but nothing has been said about the relationship between B and Y or the relat... |
Say that we want to model a complex-valued signal using the RV $S$, where $S$ can be expressed by it's real and imaginary part, i.e. $S = X + iY$, where $X$ and $Y$ are real-valued random variables.
Given that $X$ and $Y$ are both Gaussian, have zero mean, are independent and have the same variance. Is the joint PDF $f... |
It's well known that the MLE $\hat{\theta}$ maximizes $f(y\mid\theta)$ and under regularity conditions has asymptotic distribution
$$N\left(\theta, \frac{I(\theta)}{J^2(\theta)} \right)$$ where $I(\theta)=Var(E[\partial\ell'(y_i,\theta)])$ and $J(\theta)=-E[\partial^2\ell(y_i,\theta)]$(for simplicity I treat the single... |
The Savage - Dickey ratio is an equivalent, but more useable, form for the Bayes factor for two model, model $M_{0}$ and model $M_{1}$.
The definition for the Bayes Factor $BF_{ij}$is as follows:
$BF_{ij} = \frac{p(X | M_{0})}{p(X | M_{1})} = \frac{p(\delta = \delta_{0} | x, M_{1})}{p(\delta = \delta_{0} | M_{1})}$
Pro... |
Suppose $\Sigma$ is a covariance matrix $P$ is its corresponding correlation matrix. Let $\lambda_1, \dots, \lambda_p$ and $\tau_1, \dots, \tau_p$ denote the ordered eigenvalues of $\Sigma$ and $P$, respectively.
Is there any known relationship between $\lambda_i$ and $\tau_i$?
Is there any known relationship between ... |
I've run into the following problem that I can't seem to find good sources for:
I have a 2d binary matrix, mapping various combinations of a group, in other words, every row is a group with every 1 in the row meaning that a person is present in that group. Columns obviously correspond to the specific people. Given this... |
I've got time-varying predictor sampling events nested under each outcome sampling event (also sampled at multiple time points). So, I've got time structure at level-1 (outcomes), but also at level-2 (time-varying predictor). Level-0 is subject ID. How can I handle the time structure at both levels 1 & 2 in a hierarchi... |
Background
I am working with posterior probability distributions for parameters obtained from a Bayesian binomial generalised linear model with a logit link function. The parameters returned by the model are the log-odds intercept (a) and slope (b, also known as the logistic rate k). The logistic equation for these mod... |
Terminology: The terms permutation and randomisation tests often seem to be used interchangably, but in some cases they have distinct meanings - with the meanings not always consistent. In this post by randomisation test I mean a test where we randomly permute the observations in our sample(s) to recompute some test st... |
I have two sets of questions in a survey.
The first set is 6 Likert scales for how important a particular trait is for someone to be an elected official (How important is it that an elected representative be ambitious, for example).
The second set is the same 6 Likert scales for how well the respondent thinks the trait... |
this is a small portion of the data...... total around 700
Ano, Sexo, Bips, APT, Peso, Altura, IMC
7,00 1 46,00 AP 38,20 1,52 16,53
7,00 1 47,00 AP 39,20 1,56 16,11
7,00 1 61,00 AP 49,90 1,62 19,01
7,00 2 52,00 AP 51,60 1,60 20,16
7,00 2 50,00 A... |
My research endeavors to explore the relationship between conflict exposure and attitudes towards international institutions. Specifically, my hypothesis posits that individuals who have experienced higher levels of conflict are more likely to exhibit lower levels of trust in international institutions. The data for my... |
It's said that continuing to boost after reaching zero training error can improve test error in AdaBoost.
However, I don't see how the algorithm can continue at all if it is reaching zero training error; $\alpha_i$ will become +inf if the error is zero.
|
I am analyzing two within-subject categorical variables (Factor A and Factor B) in R. Using linear mixed effects, I got a significant interaction. When I start to analyze the simple effect, I firstly used t.test, and then used the emmeans package. However, I got different results. I don't know which one I should trust.... |
In order to determine the parameters b1, b2 and b3, this chapter simplifies the writing using the "deviation form" (red part).
I can't understand why the term b1 disappears.
Here is the chapter mentioned above.
|
I have just been reading that Quadratic Programming can be used to solve the Support Vector Machine optimization.
My solver can minimize this typ of problem
$$\text{J}_{min} = \frac{1}{2}x^TQx + c^Tx$$
Where it subject to:
$$Ax \leq b$$
$$x \geq 0$$
All I need to do is to create the $Q, A$ matrices and $b, c$ vectors.
... |
I have implemented the basic sGarch model using the code below:
spec <- ugarchspec(variance.model = list(model = "sGARCH", garchOrder = c(1, 1)),
mean.model = list(armaOrder = c(1, 1)),
distribution.model = "norm")
ARMA_GARCH.models <- list()
for (i in 1 : length(vol)) {
ARM... |
I surveyed 400 participants and each participant received 8 images to analyze, each image with the manipulation of 3 factors (A, B, C, AB, AC, BC, ABC, Control - no changes). Then, they answered the same question for each image, choosing one option of 4 (W, X, Y, Z).
I am analyzing the data in SPSS. I used the Repeate... |
Here is an exercise in the book of author Achim Klenke. Let $(X_n)$ be iid non-negative random variables. By using Borel-Cantelli lemma, show that:
$$
\limsup_n \dfrac{X_n}{n} = 0 \text{ a.s}
$$
if $\mathbb{E}(X_1) < \infty$. Otherwise, show that $\limsup_n \dfrac{X_n}{n} = \infty$ a.s
As suggested by the probl... |
I have caluclated the first differences of a process and now created an ACF and PACF plot and I honestly don't know how to interpret it. I thought that it is an AR(1) process but I see some significant lags later then the first lag, but they look like they are close to the edge of significance.
What should be the order... |
Stochastic gradient descent is a useful approach to improving iteration time by giving up some rate of convergence. For a parameter $w$, learning rate $\eta$, and smooth objective function $Q$ the update rule is:
The term containing "stochastic" reminded me of stochastic processes and their role in SDEs and numerical ... |
This post answers for when you fit your data with a line, but my teacher's notes at university claim that the mean of residuals is zero for all linear (in its parameters) models, such as the parabolic model, while no proof is given for this general case.
Wikipedia seems to agree that linear regression is just lines and... |
I would like to fix the states identified by depmixS4 in a certain order to prevent label switching. This question was asked here (Fix state labels of HMM in depmixS4), and the answer given recommended the ?depmixS4::fit documentation for how to do this. However, the documentation only has an example of how to use co... |
The question "The dean randomly selected 25 students who took the calculus final exam and looked at their scores on it. In this sample the mean was 85.7 and the standard deviation was 4.2. The population of exam scores has a distribution that is approximately normal. Construct a 90% confidence interval for the mean sc... |
I am trying to model predictors of infections for a group of patients. The rates of infection vary by calendar time and so i was attempting to use a calendar time scale Cox model. However patients entered the study starting in 2022 and were observed until the the end of 2022. So some patients enter as late of april of ... |
I am in need of a ZI genpois model in glmmTMB for my analysis (modelling nested annual bird counts ~ weather covariates). A random slope/intercept glmmTMB model (1 + year | site) cannot resolve the temporal autocorrelation in my time-series data, but a site-varying smooth term on year in mgcv can. Since mgcv does not h... |
Suppose I have a population of N elements. For the sake of example, imagine these elements take either a value of 1 or a value of 0. My goal is to estimate the sum of the N elements.
To do so, I wish to set a maximum standard error threshold, rather than set a fixed sample size, as is typically done in SRS. The idea is... |
I've been playing around with random forest algorithm to classify a binary Y vector using classification and regression trees. Classification trees output class probability and regression trees an average number between 0 and 1. By setting a threshold of 0.5 for either probability (classification trees) or average (reg... |
I have done WGCNA based on the module that showed association with the trait I narrowed down key modules from which I proceeded with cox regression model
So the steps what I did in R as such
fit.coxnet <- glmnet(x_tr, y_tr, family = "cox",alpha=.95,lambda = lambda_seq)
plot(fit.coxnet,xvar="lambda")
plot(fit.coxnet)
... |
is stock fixed effects necessary for a panel data where 80% of the firms are small firms and only 20% firms are medium to large? I suspect there would be little to no variation in majority of the sample in such case and adding a stock fixed effects would just kill the results. This is what I appear to understand from t... |
What results exist for computing (or approximating) the entropy of a mixture of von Mises-Fisher distributions?
|
Consider the following two random variables:
A random vector $S$ with law $h$ and support $\mathcal{S}$ and,
a random vector $X$ with law $c$ and support $\mathcal{X}$.
Assume
$\text{Dim}(\mathcal{S}) \geq \text{Dim}(\mathcal{X})$
$\mathcal{S}, \mathcal{X}$ are finite, and
$|\mathcal{S}| \geq |\mathcal{X}|$.
I want... |
Question: Suppose there is a job training program rolled out in Georgia from 2011 to 2015 . The aim of the job training program is to provide work experience for a period of 12 to 18 months to individuals who had faced economic and social problems prior to enrollment in the program. There are 60 out of 159 counties in... |
Suppose I have a time series process $\{X_t\}$ that is strictly stationary in the sense that the joint distribution of $[X_{t_1},...,X_{t_k}]$ and $[X_{t_1+a},...,X_{t_k+a}]$ are the same for any set of integers $t_1,...,t_k$ and any integer $a$. If in addition, I know that this process have mutually independent observ... |
I'm interested in the following question. It seems pretty elementary but I don't know where to actually find reference on it.
Suppose we have a scale (one parameter) distribution family $\{\mathcal{F}_{\sigma}, \sigma>0\}$. And further assume $\{X_i\}$ with $i\ge 1$ are random variables from this family, such that $X_i... |
I come up with this problem and I am sure if my solution is corrected.
$X, Y \sim \text{Exp}(\lambda)$. Find pdf of $W = X/(X+Y)$.
Please see my try bellow:
At Eq(17) I don't know if my result is corrected or not.
|
A popular measure of "closeness" between probability distributions $\vec{p_1}$, $\vec{p_2}$ is the Bhattacharyya coefficient $\sum_j \sqrt{p_{1,j} p_{2,j}}$. Consider two statistical models $p(X|\Theta)$, $q(X|\Theta)$ with $\Theta\in \\\{1,\ldots, k\\\}$ finite, i.e. conditional probability distributions of some obser... |
I am trying to estimate confidence bounds for prediction metrics of a binary-outcome logistic regression model. In particular, the AUC and the Brier score.
I've looked at many other posts on this website, but each seems to have differing and sometimes conflicting ways of computing CIs using either bootstrapping or cro... |
I'm experimenting with non-normal innovations standard GARCH(1, 1) model
$$\epsilon_t = \sqrt h_t z_t$$
$$h_t = \omega + \alpha \epsilon_{t-1} + \beta h_{t-1}$$
Where $E[z_t] = 0$, $E[z_t^2] = 1$, but $z_t$ could be non-normal.
I've worked through Bai, Russell, and Tiao's 2003 paper "Kurtosis of GARCH and stochastic vo... |
After having read about VEC model (VECM), I thought that cointegration and VECM loading forces were strongly, not to say numerically correlated. I thought that the more we have cointegration, the less is the coint. $p$-value, the higher are the loading forces $\alpha_i$.
To confirm that, I plotted a point cloud of 100 ... |
I have a retrospective study evaluating the effectiveness of an intervention in reducing COVID infections on subgroup of patients. Using a control and intervention group, I was hoping to set a time-based calendar scale to avoid having to account for the variation in local covid infection rates(as noted by this paper ht... |
Suppose that I was tasked to find if the mean difference between the current and starting salary of employees is greater than 15,000. How will my null and alternative hypotheses be?
Can it be:
Ho: Current - Starting is less than or equal to 15,000.
Ha: Current - Starting is greater than 15,000.
Will it be a right-taile... |
Can we transform the variables of a regression in MLR to sine , cosine, tan
Then how to interpret the results if I get a good $R^2$ and good adjusted $R^2$
|
Let's say I have a list of lists of integers, all of a large variance in length, and I want to get the weighted mean of each record. How would I go about doing that?
For example:
record_a = [1];
record_b = [8, 7, 5, 6, 7, 2, 9];
record_c = [8];
record_d = [8, 4, 5];
record_e = [8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,... |
Suppose I have an AR(1) process $X_t=aX_{t-1}+e_t$, where $e_t$ is a white noise with zero mean and finite variance. Under what conditions do I have $\{X_t\}$ being strictly stationary
in the sense that the joint distribution of $[X_{t_1},...,X_{t_k}]$ and $[X_{t_1+a},...,X_{t_k+a}]$ are the same for any set of integer... |
I am trying to retreive rotation matrix from a rotated 3D point cloud covariance matrix, using SVD decomposition (as done in SimNet and MVTrans). Here how I computed the covariance matrix from 3D point cloud (CAD model of the rotated object):
def cov_mat(self, rot, pos):
"""Returns the 3x3 covariance matrix of the poin... |
I have read in this paper, about how to do Bayesian AB testing for conversions in digital advertising. One can start with uniform priors, and update them to Beta distributions based on num_trials_A, num_successes_A, num_trials_B and num_successes_B.
However it seems that the authors take the conversion rates to be cons... |
I am currently working with longitudinal data using a linear mixed model (lme4 R package).
The linearity plot (fit with check_model function from performance R package) indicates an upward trend. Would one consider this violation as serious, as the trend is monotonic and does not show a funnel shape etc. ?
For linear r... |
I used the multiple imputation method to fill in my missing data points in a big dataset. My dataset now contains values for 5 imputations. I know there is an option to analyze with the pooled value of the 5 imputations, but how do I create a dataset with the pooled values of the multiple imputations?
|
I'm fitting a linear regression between two variables and to reduce the problem of heteroskedasticity I have log-transformed the outcome variable y.
However, this makes it difficult for me, a non statistician, to understand how I should backtransform to the MAPE (mean absolute percentage error) as it is a metric that i... |
This question arose in a true Argentine card game called truco. Sometimes we need to choose who will play because we are too much people, so we deal cards and the first to get the king, out of 4 players, will join the group and play. During the game, I was wondering if this way of selecting the player is fair enough. S... |
The problem I'm facing is as follows:
There are 42 regions in a health system, each which administers 5 hospitals.
12 of these regions have an active intervention that is applied by all hospitals in the region, to try and reduce readmission rate. I want to assess association of the intervention with readmissions at a p... |
I need help with the following.
Using our alternate data for external clients, we have built a model for identifying fraudulent customers (classification).
we used the auto-ml package to arrive at the best model and gave the results back by scoring the client's holdout data that was without the target.
Now, the client ... |
I'm working on a project where I need to model continuous positive data. I found that a Tweedie distribution with a variance power around 1.2 and a dispersion parameter just above 1 fits my data quite well, except for the high probabilities of exact zeros. There are no zeros in the training data since actual zeros woul... |
I'm attempting to find out if there's any correlation between a dependent variable and lagged independent variables. Simple question yet I can't find any answers to this - should the dataset be trimmed by the longest lag or filled with 0? What would be the rationale behind it? Thanks.
|
My issue is that Grad-CAM often highlights the wrong areas. My task is to perform weakly supervised semantic segmentation (WSSS) of lung malignant tumors using image-level labels. Although I achieved excellent performance on both the training and testing sets, with high accuracy, precision, recall, and F1 scores all cl... |
I have a dataset with some variables with MANY categories (one has about 20000, other about 2000, the third about 200). Need to make a multi-class prediction (not binary, but 3 values)
How can I manage them? If I would like to try, for example, a Random Forest, I think max categories are about 50. I suppose creating 20... |
This is a general question, which has come up in two recent analyses. I have two datasets wherein a data point was very uncommon but ended up being significant on the analysis.
In one it was female sex that was tied to the outcome (blood clots) in a cohort that included about 500 males and 4 females. In the other it wa... |
In deriving the unbiasedness of OLS Estimators,
$$\hat{\beta_1} = \beta_1 + \frac {\sum_{i=1}^{n} (x_i - \bar{x})u_i}{\sum_{i=1}^n (x_i - \bar{x})^2}$$
My professor changes the above to:
$$\hat{\beta_1} = \beta_1 + \sum_{i=1}^{n} (\frac {(x_i - \bar{x})}{\sum_{i=1}^n (x_i - \bar{x})^2})u_i$$
How are these two equal?
|
I am currently conducting a study where the outcome variable is measured only at the level 2/group level. The dependent variable is a measure of the proportion of all municipal spending that is being spent on a particular type of service. However, I would like to investigate to what extent this corresponds to the attit... |
This is a problem that I have experienced in multiple domains but most recently in identifying bird species from audio data. I have 300, 5 minute audio files with corresponding species labels (10 species).
To build a classifier, I split the audio files in 10 second windows and build a CNN on the spectrograms. This achi... |
I'm working with a dataset where all I have is the similarity matrix (with values 0 to 1, 0 being no similarity, 1 being identical). After I assign the labels, I loop through the matrix and, for each pair of points:
1a) if the points are in the same cluster, add (1-similarity(p1, p2)) to a tracker variable. 1b) if the ... |
I am using ROC curves for multi-label classification. I have a classifier that produces a score for each label, say a Logistic Regression that produces a probability. I understand that an ROC curve is parameterized by a discrimination threshold and assigns to a class the observations where a class with the highest prob... |
I am currently building a solution that can reduce the overall electric consumption of a household by remotely controlling some appliances (for a period of 60 minutes).
And to prove that it works I will run a pilot program where I will equip a few people with my solution, and test it over the course of a few months. Mo... |
I am studying returns on advertising, here defined as [Customer LifeTime Value]/[Customer Acquisition Cost]. I have obtained values and respective CIs for both variables and now i have to combine them to form a ratio and its CIs.
Customer lifetime value is an average of 10k+ observations and it is a log-normally distri... |
I'm looking for help clarifying the concept of parameters in statistics. Mainly, I'm having trouble understanding the commonality or difference between distribution parameter and model parameter.
When describing distributions, (e.g., normal distribution, binomial distribution, etc) we use the word 'parameters' for norm... |
I have encountered a situation where someone has run many simple linear regressions, each on a separate subset of data, to test for changes in a slope in some time-series data. Each month, a new data value is added to the end of the dataset and data point at the start of the dataset is removed. The idea with some sampl... |
Suppose I have a data set with $(Y,X)$ where $Y$ has some missing entries(say 20% missing). From $p(Y,X|\lambda)$ and prior $p(\lambda)$, I can conduct MCMC by data augmentation to impute missing $Y$'s.
Assume I have $n$ such data points. If I had no missing entries in $Y$, then according to Bernstein-von Mises theorem... |
I am having difficulty finding the correct location and scale parameters for a PDF diagram that I need to validate my data.
I have already calculated the location parameter to be -1.01, but I am unsure about the scale parameter.
I would appreciate any guidance or correction you could provide.
I am currently conducting... |
Can I use predicted outcomes from one model as the dependent variable in another model to make causal claims? Put differently, is there something equivalent to the Frish-Waugh-Lovell theorem for working with predicted outcomes rather than residuals?
To explain and make things tangible, let's take something like the Bos... |
My book presents the following derivation of the variance of the mean estimator $\bar{X_n} = \frac{1}{n} \sum_{i=1}^{n} X_{i}$ for a stationary process $(X_t)_{t}$ with autocovariance function $\gamma(\cdot)$:
I do not understand the last equality in the calculation above. Could someone explain how they have rewritten... |
I am trying to interpret my results from decomposing my time series and the acf/pacf plot. The adf test gave a p-value less than 0.05 so is it ok to assume that my time series is stationary with no trend or seasonality? Is it ok in the ACF plot if the values are above the thresholds?
|
Assume we plot $f(x) = ax + b$, a linear regression for some data points.
We have already calculated the 95% confidence intervals for both $a$ and $b$. So in total we have 6 values given: $a, b, a_{lower}, a_{upper}, b_{lower}, b_{upper}$.
Given these values, how do we plot these alongside the linear function in this w... |
I am trying to learn how to use r to perform an ordinal logistic regression, in order to look for correlation between survey questions with categorical answers and another question asking about level of confidence.
I am very new to this, so I would really appreciate any help so that I can understand how to do this corr... |
O'Brien (1988) has shown that a strong method for doing multivariate testing is to reverse the problem. That is, instead of seeing if the category impacts the measured values, see how the measured values impact that category. These are logically equivalent notions, and approaching the problem this way, such as with a l... |
I'm trying to run a beta regression to predict my dependent variable Consistency, which has values between 0 and 1.
Here is the distribution of Consistency values in my dataset:
I originally tried linear mixed models with different transformations, but none of them seemed satisfactory (none of the Q-Q plots looked goo... |
Let $X$ be a matrix with $n$ rows and $d$ columns. We know that there exists matrices $U, S, V$, with $U$ of dimensions $(n, d)$, $S$ of dimensions $(d, d)$ and $V$ of dimensions $(d, d)$, which form the singular value decomposition of $X$, such that:
$X = USV$
$S$ is a diagonal matrix. Assume for this problem that S ... |
I have run an Interrupted Time Series Analysis based upon the below code:
glm(`Subject Total` ~ Quarter + int2 + time_since_intervention2 ,
df, family = "poisson")
I have used the emmeans package to estimate the pairwise difference between the counterfactual and point estimate and get the below output:
contrast ... |
Could you please help me understand why the following reasoning is wrong:
let's say there are two random independent samples:
x1=56, n1=250, so that phat1=0.224, and
x2=60, n2=300, so that phat2=0.2.
Suppose I want a 95% confidence interval for the difference in population proportions. Using the standard technique, I w... |
PDF of a random variable $X$ is,
$$
\begin{equation}
f\left(x|\gamma\right)=
\begin{cases}
\frac{1}{\gamma} \exp(-\frac{x}{\gamma}) & x > 0 \\
0 & \text{otherwise.}
\end{cases}
\end{equation}
$$
I got the estimator using negative log-likelihood function and equal it with zero:
$$\hat{\gamma}_{\text{MLE}}=\frac{\sum_{i... |
In microbial research, a common way to check growth rates of bacteria is by performing a dilution of the bacterial population and then plating the resulting dilution on a petri dish. After some time, the cells on the petri dish grow into visible colonies which you can then count to arrive at an estimate of the original... |
A concept I'm struggling with is the type 1 error and the level of a test, for me the type 1 error is P(Wn|H0)
where Wn
is the rejection zone. Is it not a way to measure Wn
given that H0
is true ? So why do we reject H0
when the level of a test is too low? ( In my opinion, if the level of the test is too low so is the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.