instruction stringlengths 9 38.7k |
|---|
I have a question regarding a mixed model I am using:
In a study, participants have been presented with 40 different news article headlines and indicated for each headline whether they would share the headline or not (Yes coded as 1, No coded as 0). There are the two binary within-subjects factors “Accuracy” (true vs. ... |
I have 5 flasks.
Flask 1 has only water (50 ml).
Flask 2 has salt water (50 ml) at a certain concentration (say 10%). I call it dilution factor 1x.
For flask 3, I create a 2x dilution solution by mixing 10% salt solution with water in 1:1 ratio.
For flask 4, I create a 4x dilution by mixing 10% salt solution with water... |
I'm doing a meta-analysis and I want to pool the Hazard ratios. One of the studies presented the hazard ratio and total number of events. However, person-year and 95% CI wasn't provided. Is there any methods to estimate the standard error or the 95% CI?
|
I have a mixed-design, 1 between (group A and group B) and one within (pre and post).
Anova, as well as mixed-effects model, showed non-significant results in the between, in the within, nor in their interaction. Descriptives and plots confirmed no differences between groups, but it seems that there are differences bet... |
I'm a long time lurker and first time question asker so my apologies in advance for any errors or missing information in my question.
I'm running a semi-parametric aalen regression model in R using the package timereg. My goal is to determine the effect of a two-way interaction between individual and neighbourhood inco... |
I am trying to find the expected value of the game in the St. Petersburg paradox. The game has infinite expected value, but in my simulation the payouts are about 15 on average, which is way too small.
Increasing iterations does increase the simulated mean but not much. Can anyone tell me or point to resources how to p... |
Given random variables $W,X,Y,Z$ satisfying $E(XY)=E(E(X|Z)Y)$ and $E(XW)=E(E(X|Z)W)$, must it hold that $E(XY)=E(E(X|Z,W)Y)$?
I tried the case with $X,Z,W$ being jointly gaussian, and the case with $X,Z$ being jointly gaussian with mixing parameter $W$ etc, in both cases $E(XY)=E(E(X|Z,W)Y)$ holds.
However, when I tri... |
Naturally the answer to the former would be 0 in case of a perfect fit. But how would one go about finding out the value of the worst possible fit?
Background: Doing a simple experiment to crack Caesar Cypher, which in no way is more efficient than just brute forcing the 26 possible shifts, but that's beside the point.... |
Consider the linear regression model
$$
Y_i=X_i^\top \beta+U_i.
$$
Suppose some regressors are not orthogonal to $U_i$, i.e., $E(X_i U_i)\neq 0$. Then, the OLS estimator is not consistent (Hayashi, chapter 2). The usual way to proceed consists of finding instruments $Z_i$ such that $E(Z_i U_i)=0$ and such instruments ... |
I am working with a very unbalanced dataset that represents algae response to pollution. This dataset is the reunion of data that came from other studies. Algae are expressed as cell abundance counting, so, the response varies from 0 to more than 20000. Pollution is approached as z-scores because I needed to standardiz... |
Consider $Z\sim N(0,1)$ and the moments:
$$
E\left[ \left(C_1(Z+\sqrt{\lambda})^2 - C_2\right)^t\right].
$$
Here, $C_1$, $\lambda$ and $C_2$ are arbitrary constants which are all positive. $t$ is a nonnegative integer. Is there an analytical form for these moments in terms of $t$, $\lambda$, $C_1$ and $C_2$?
So far, I ... |
I am working on an ML classification task which is similar to the following:
Apples have to be classified to three classes: Big, Medium and Small.
I need a metric which I can use to assess the system. I consider using mean F1 score for the three classes (Big, Medium and Small).
However it looks like there is a problem ... |
I am trying to understand the difference between orthogonality and zero correlation. There are many insightful questions/answers on the topic in this forum, but I'm looking for some practical examples. Could you suggest examples where $X$ is a $2\times 1$ random vector (non-trivial), $U$ is a scalar continuou random va... |
please help me out with this...
if I want to include both discrete and continuous variables in a linear mixed model, what do I do? I tried including them in the model lmer (dependent ~ independent + discrete variable + discrete variable + continuous variables +(1|sub), data), but the output showed the same as the model... |
When comparing two independent proportions (p2, p1) in an A/B test, null hypothesis states that the difference is 0, while the alternative hypothesis states it is something other than 0, let's say mu1.
From the pooled sample standard deviation, we can say that the distribution for null hypothesis is:
p2-p1 ~ N(0, poole... |
I would like to interpret the cumulative incidence plot in blow. Red line shows cancer and black line noncancers. Event is ability decline. Is it correct to say that the risk of ability decline in cancers in higher that nocncancers. Right? And the difference in cox from score log rank test is p = 0.06. My question is t... |
I'm looking to describe annual relative abundance for several species over several years by analyzing point count data. I'm using a Poisson GLMM in glmmTMB for each species, it looks like this:
m[[i]] <- glmmTMB(count ~ year_numeric + (1|year_factor) + (1|site),
family = "poisson", data = data[[i]])
... |
I have a Bayesian model I'm using to compare two data-sets X_1 and X_2. I have a prior distribution I would like to use. This distribution could be parameterized by the mean and variance of some data-set X_p.
I know better than to use X_1 as the X_p needed to create X_1's prior, but I don't have a particularly clear pr... |
I have a question concerning calculating the Hastings ratio in a specific case (multinomial proposal distribution).
I consider a discrete vector $M$ with integer values that sum up to some number $N$. In each step of the Metropolis-Hastings algorithm I need to propose a new value for $N$ and a new value of $M$.
Let's d... |
I would like to perform a hypothesis test to determine if a particular predictive model is a true improvement, or just attributable to randomness. Below is my suggested formulation; the motivation and context follow.
$y(x)$ is a function mapping finite set $X$ (of known cardinality) to $\{0,1\}$. $y$ is unknown, but ... |
While reading some papers about over-parameterization in deep learning models, I also read that "over-parametrization is a simple method to introduce additional dimensionality and help make the local minimal to be a saddle point so the optimizer would be less likely stuck at local minimal and can find the global minima... |
I have a big dataset with different kinds of human interventions in natural freshwater environments (categorical variable, one column) and the responses as control/ with intervention. It is a reunion of studies published data.
This dataset also has other columns with relevant characterization such as kind of environmen... |
Some patient received an treatment as treated group and some did not as control group. In order to consider "immortal time bias", I coded the treatment as a time-dependent covariate. Could you let me know it is right or not? Thanks. For example, there are two patients: P1 received the treatment 30 days after the start ... |
I want to use a dataset with five features related to three classes ( normal, UDP, and SYN) to detect the DDoS attack, In this idea, which algorithm should be used ( ML with SVM or DL with CNN) and when will SVM be a better option to use than CNN? Thanks in advance.
|
I'm trying to estimate annual expected counts (number of individuals of a species) by analyzing point count data from multiple sites across several years. The model looks like this:
m <- glmmTMB(count ~ year_numeric + (1|year_factor) + (1|site),
family = "poisson", data = data_i)
Here, I have a linear tre... |
Setup:
The setup is weighted sampling without replacement. By which I mean:
You have a set of $n$ items, indexed by integers 1 through $n$, and the items have associated weights $\{w_1,\ldots,w_n\}$ (nonnegative real numbers), with total weight $w_\text{total} = \sum_{i=1}^nw_i$.
You sample without replacement from t... |
Problem:
a) How large does a family's net worth have to be to be in the top $1$ percent in 2019?
b) a) How large does a family's net worth have to be to be in the top $2$ percent in 2019?
Answer:
I will work in units of thousands of dollars. My answer is based upon data from the following website.
Federal Reserve Surve... |
What is the interpretation of inverse mills ratio in Heckman Selection Model ? Why we are including it as an explanatory variable in the OLS estimator?
|
I know this is correct: "If a population is normally distributed, a sample randomly chosen from it must be normally distributed." For instance, If the sizes of all apples of my farm are normally distributed, 50 apples chose from it should be normally distributed unless randomness was violated.
But, is the following as ... |
Just curious to hear any thoughts on weighting over prediction in mean absolute error to minimize the penalty since I'm more interested in under prediction, if that makes sense. Basically, I'm forecasting to find optimal staffing needs so I'm not as worried if the model over predicts too much. On the other hand, I do c... |
I'm looking into the definition of cross entropy from wikipedia. https://en.wikipedia.org/wiki/Cross_entropy
Cross entropy is not symmetric, so I think for sure it shouldn't be called cross entropy between $p$ and $q$.
But why is it called the cross-entropy of the distribution $q$ relative to a distribution $p$, not $... |
Suppose that coin 1 has probability 0.7 of coming up heads, and coin 2 has probability 0.6 of coming up heads.
If the coin flipped today comes up heads, then we select coin 1 to flip tomorrow, and if it comes up tails, then we select coin 2 to flip tomorrow.
If the coin initially flipped is equally likely to be coin 1 ... |
I want to visualize some data with a boxplot -- and I am wondering, if the boxplot is even the correct way for visualizing the data.
I want to compare three datasets (40 entries each) using boxplots. Basically the first two datasets are always the same numbers, the third set has only a few outliers:
(geregelt: 62, 62, ... |
this question occurred in my interview,
How to find the median values using the min, max, and sum values of the given 5 elements?
for eg if given 3 elements we can use
sum - min - max
a = [3,6,9]
here median is 6
min = 3
max = 9
sum = 18
18 - 9- 3 = 6
which is the same as median values.
so the question is how to find t... |
I know that the combinatorics are simple, but I just can't remember and find a solution.
So I have 8 locations (A-H). It does not matter the direction. So Route A -> B is the same as B -> A. How many unique routes are there?2
|
I have a dataset like this:
individual1
individual2
Bray_Curtis
Dyad_type
proximity
matriline
id1
id2
Aapi
App
0.47
1
0.14
1
1
2
Aapi
Eis
0.60
2
0.03
0
1
4
Potj
Popp
0.50
1
0.11
1
3
5
Aapi
Potj
0.27
3
0.15
0
1
3
Ree
Eis
0.63
4
0.66
0
6
4
I want to look at a possibile effect of the dyad type covariat... |
I am trying to train a small MLP in Pytorch.
Here is the code for the net:
class Net(nn.Module):
def __init__(self):
super(Net,self).__init__()
self.ln_1 = nn.Linear(600, 512)
self.ln_2 = nn.Linear(512, 256)
self.ln_3 = nn.Linear(256, 128)
self.ln_4 = nn.Linear... |
I have a question with regard to interaction term in Cox PH model.
I'd like to analyze the impact of variable A on cardiovascular (CV) event.
Variable A levels are different according to sex, although the sex-specific cut-offs are not available (If cut-offs are available, I would have been able to categorize variable A... |
The Question is at the end of the reasoning.
1 : Representation of binomial confidence intervals:
We want to know if the proportion of reds in zone 1 is significantly different from the proportion of reds in zone 2
df <- matrix(c(58, 51, 8, 17), nrow = 2,
dimnames =
list(... |
This question is a follow up question from this one: Controlling for an effect by adding it as covariate in R
Now that I know my model is coherent, I have some issues interpreting my results.
The model:
lmm2 <- lmer(formula = bray_curtis ~ dyad_type + proximity + matriline +
proximity*dyad_type... |
I am using to Excel to analyze a dataset I have. I'm looking at bird migration. I have the date the birds were seen and the number of birds (abundance). I have a dataset of 10 years and I am trying to see if there is a shift in arrival time from year to year. What would be the best way to approach this?
|
I have a longitudinal data, with different follow-up number for individuals. I have considered measurements for each individual as a curve which I already smoothed them, then calculated the area under curve and divided by the interval length to find the average of my outcome which is functional ability over a year. My ... |
I read that for linear models, when more variables are added to the regression, typically the bias of the predictions decreases and the variance increases. That is:
Too few covariates yields high bias, known as underfitting.
while
Too many covariates yields high variance, known as overfitting.
I am having a hard ti... |
Using randomForest in R I have imputed missing values from a dataset of categorical and numerical variables. My query is regarding the following data imputation process -
The initial forest is built using median imputation, proximities
are calculated, and new imputations are obtained by a proximity-weighted average
fo... |
I was the reading the Bland's chapter about sample size determination, and in the last part he talks about "Trials randomized in clusters" (ie. 50 patients of 30 GP physicians where each GP is considered a cluster), I quote:
"In some trials, where the intervention is directed at the individual subjects and the number o... |
In a logistic regression model, if I have two predictors that are very correlated with each other, how would this impact the coefficient estimates?
|
I'm contributing to a ML software project and noticed something weird in the code:
They perform standardization by introducing a linear layer right after the inputs. This linear layer has the same number of nodes as the inputs. I've never heard of such a practice... How does this standardize the inputs?
The only commen... |
Say you have 2 random variables $x, y$ and a copula $C$ to model their interdependence. The two distributions are made uniform and the copula has some form (e.g., Gaussian, Clayton).
Given that, does that mean that the resulting joint cumulative distribution function $F(x,y)=C(F(X),F(Y))$ has the same form as the copul... |
What is the best practice to handle highly similar/ autocorrelated observations (rows) in a data set. These highly similar rows could come from recording (some of the) observations at too close timestamps.
This is for example a problem also found in pseudoreplication.
For highly correlated features (columns), one typic... |
I've been reading Judea Pearl's description of Lord's Paradox in his 2018 book The Book of Why: The New Science of Cause and Effect, in which he presents the following plot:
In this special case where the data points lie along the same diagonal, if Statistician 2 conducts a regression of Final Weight on Initial Weight... |
I am training a neural network (Deep and cross network) for a multi-label classification task (~700 labels). I am seeing a uniform gap between training and validation results on various metrics. E.g. see the graphs below. What are the potential explanations for such phenomenon? My conjecture would be some sort of infor... |
I am reading Casella Berger and in the book (pg. 545), they mention that it is possible to construct a linear regression model by only assuming that:
$$
E(Y_i) = \alpha+\beta X_i \qquad \text{with} \qquad Var(Y_i) = \sigma^2
$$
and that the errors $\epsilon_i$ are uncorrelated (weaker than independence) and that $E(\ep... |
The q value of a specific state,$s$ and action, $a$ is given by the following equation, as per Sutton and Barto's equation 3.13 -
$$q_{\pi}(s,a) = \mathbb{E}_{\pi}[\sum_{k=0}^{\infty}\gamma^{k}R_{t+k+1}|S_t = s, A_t = a]$$
Here, $\gamma$ denotes the discount factor, $t$ the current time step, and $k$ the future time st... |
I am currently creating a CNN from scratch in C++ only using vectors, and Matrix classes I have created. Mainly doing this as an exercise so that I can make sure I fully understand the process. I am currently able to do the forward pass, along with the backwards pass as it pertains to dw and db. dw being the gradient o... |
Given a linear regression model:
$$
Y_i = \beta_0+\beta_1X_{i1}+\epsilon_i
$$
I have seen two interpretations of $\beta_1$:
"$\beta_1$ is the amount $Y_i$ increases by when $X_{i1}$ increases by 1 unit"
"$\beta_1$ is the amount $E(Y_i\mid X_{i1})$ increases by when $X_{i1}$ increases by 1 unit"
Which of the two is ... |
It might be silly question-want to have clarity of this concept.I was wondering if someone can elaborate meaning and examples of effect size in clinical research. How to interpret it accurately? How does one calculate it for example with OR?
|
I am running a Chi Squared test on nominal values and this is the contingency table.
mac windows All
dislike 1590 1925 3515
like 904 1637 2541
All 2494 3562 6056
Expected values are:
[[1447 2067]
[1046 1494]]
p-value is significantly less than 0.05 s... |
In most datasets I use, the spectrum of the covariance matrix decays to 0 quite fast, meaning that they are more or less low-rank.
My question is, whether there are setting or disciplines that are known to have datasets with a long-tail of eigenvalues?
|
I have 4 tests that use different procedures to detect bacteria. I want to compare the detection rates by the test used. My data is arranged such that I have each test in a column and their detection per sample as 1s or 0s e.g.
PCR Gramstain tissue
0 0 1
1 1 0
1 1 1
1 0... |
I understand that in the original paper on the EM algorithm by Dempster, the proof of convergence in Theorem 2 had a flaw, and that a full proof wasn't given until CF Jeff Wu published it years later.
I am trying to understand why the proof was flawed. The equations in question are 3.13 to 3.14 in the paper above, wher... |
I'm self studying statistics using Casella & Berger Statistical Inference and I'm confused about a detail in solution to exercise 7.11.
Here's the problem I'm try to solve:
Let $X_1, ..., X_n$ be iid with pdf
$$ f(x|\theta) = \theta x ^ {\theta - 1}, 0 \leq x \leq 1, 0 < \theta < \infty $$
Find the MLE of $\theta$ and... |
I wonder what the relationship between confidence interval and random chance is. Let me elaborate a bit.
Say, I have the following linear relationship between two variables of $X$ and $Y:$
\begin{align}
Y&=\alpha+\beta_1 X_1+ \varepsilon.
\end{align}
Now, say, I get a $\beta_1 $ of $10 $ which is statistically signifi... |
We have a longitudinal experiment, with interventions $\bar{A}=\{A_1,A_2,\ldots,A_K\}$ and outcomes $\bar{Y}=\{Y_1,Y_2,\ldots,Y_K\}$. Using some sequential conditional exchangeability assumptions, it should be possible to derive g-computation formula to estimate the causal effect of a treatment strategy $\bar{a}$.
Cond... |
This question stems from the WLLN and the Central Limit Theorem. Suppose we have $n$ iid random samples $X_1,\ldots,X_n$ with common mean $\mu$ and finite variance $\sigma^2$. Then the sample mean $\bar{X}$ has variance $\sigma^2/n$ which tends to zero allowing $\bar{X}\rightarrow \mu$ in probability, at the same time ... |
As explained here, sphere point picking can be performed using the easy formula
$x$ = $\sqrt{1-v^2}\cos\theta$
$y$ = $\sqrt{1-v^2}\sin\theta$
$z$ = $ v$
where $\theta\in [0, 2\pi]$ and $v \in [-1,1]$
Does anybody know, who first presented this method? I would like to see a rigid mathematical proof for that and cite ... |
For certain subdisciplines of Psychology, sample size calculations using simulated data become increasingly important. For simple(r) scenarios, e.g., ANOVA-like, that is a reasonably straightforward problem. A great example of a more interesting case of univariate Logistic Regression can be found HERE.
More complex cas... |
from the following simulation it seems the fee I am willing to pay should be smaller than 10, instead of $\infty$, differs from the paradox, what is happening here?
Edit:
For those that aren't familiar with the St. Petersburg Paradox, the Stanford Encyclopedia of Philosophy describes it as follows: "A fair coin is f... |
I'm looking for introductory materials on energy-based learning, especially in its intersection with deep learning methods. Accompanying sample implementations using recent deep learning frameworks would be nice, but clear explanations would be sufficient. My purpose here is to understand how it works.
I'm halfway thro... |
Ok, I do some calculations between binned histograms via the use of Wasserstein metric and more specifically this python library.. https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.wasserstein_distance.html It seems to work, but the numbers I get is whatever. How can I transform the numbers of comparing ... |
I have three random variables: $X$, $Y$, and $Z$ and I know their expected values. I want to calculate:
$$E\left[\frac{3-X-Y}{Z}\right].$$
I know that $E\left[\frac{1}{X}\right] \neq \frac{1}{E\left[ X\right]}$ but how can one approach a problem like that?
|
Let $X_i \sim \text{IID Poisson}(\theta)$ for $i=1,2,...,n.$ The MLE of $\theta$ is written as
$$\hat{\theta}_\text{MLE}=\bar{x}.$$
Suppose $\theta$ has a probability density function (pdf) $p(\theta) \propto \theta^{-1/2}$, which is Jeffrey's prior. The resulting posterior distribution is $\theta|\mathbf{x} \sim \text... |
I am running a cox proportional hazards regression with Stata and am having trouble interpreting the interaction term between two binary categorical variables.
For simplicity, here's a summary of the output and the problem i'm struggling with:
stcox a##b gives me the following:
Hazard Ratio for A: 1.1 (p <0.01)
Hazard ... |
I have some approximate likelihoods: $L_1, \ldots, L_n$. Each is quite expensive to calculate. They're approximate because they use random numbers. Each of them is being calculated on the same data set of size $N$. Actually, what's really being calculated are the log-likelihoods: $\ell_i$ for $i=1,\ldots,n$, not the li... |
Preliminaries
Suppose we have a random variable $X$ with density $f$ and a suitably smooth function $g: \mathbb{R} \mapsto \mathbb{R}$. The random variable $Y = g(X)$ also has a density function $h$.
Examples
I've been imagining the graphs of functions, and the resulting densities $h$, when $f$ is uniform for various c... |
Suppose that we have a model with many parameters, which we'll partition into two subvectors called $\theta$ and $\lambda$. In this situation, $\lambda$ corresponds to those parameters that are really of interest, and $\theta$ are nuisance parameters. In particular, we would really like to look at quantities like $P(x|... |
Wikipedia:The score is the gradient (the vector of partial derivatives) of $\log \mathcal{L}(\theta)$, the natural logarithm of the likelihood function, with respect to an $m$-dimensional parameter vector $\theta$.
The score has a mean (zero) and variance (fisher info).
So, is the score a random variable?
|
I have a dataset that is highly imbalanced, talking about 230 cases of class 1 in the target feature, and more than 3800 of class 0. I used SMOTE to resample and then built a logistic regression model. Logistic regression seemed prefect to me for this kind of data since it's a binary target feature. The results aren't... |
If KFold looks like this
And CPCV looks like this
Whats the difference apart from Purging and Embargoing?
And why would one even need to Purge or Embargo if there is no leakage in their features? Why shouldnt I just use RepeatedKFold?
|
I have a $n$ sequences $\boldsymbol{X}_1, \dots, \boldsymbol{X}_n$ of varying lengths arising from a Markov chain with a large state space $\mathcal{S} = \{ 1, 2, \dots, s \}$. Suppose the initial state probabilities are $\boldsymbol{\pi} = (\pi_1, \dots, \pi_s)^\top$ and the transition probability matrix is denoted by... |
I am trying to conduct a content validity analysis where I want to test if a certain item (e.g. a question) can be related to a certain construct (e.g. depression). I've let people fill in a questionnaire, asking them if they would assign an item to a construct and with how much certainty (0 - 100%). I've got my data, ... |
I am working on a time series dataset. I understand it has a gamma distribution. I want to use a 99% probability threshold to establish upper & lower limits/cut-offs and find anomalies. However, I am getting strange results when I run the below code.
What am I doing/understanding wrong?
data = {'Synthetic': [984.172, 1... |
An additional reason that the chi-squared distribution is widely used is that it turns up as the large sample distribution of generalized likelihood ratio tests (LRT).[6] LRTs have several desirable properties; in particular, simple LRTs commonly provide the highest power to reject the null hypothesis (Neyman–Pearson ... |
Basically I have periodic data (angles from -180 to 180) that I want perform a PCA on. However, since the data is periodic, a change in angle from say 170 to 10 will not be accurately reflected. I was wondering if anybody had a good/reliable way to transform the data without introducing new artifacts from the transform... |
Suppose that we have a random sample, of size $n$, from a population that is normally-distributed. Both the mean, $\mu$, and the standard deviation, $\sigma$, of the population are unknown. We want to test whether the mean is equal to a given value, $\mu_{0}$.
Thus, our null hypothesis is $H_{0}: \mu=\mu_{0}$ and our ... |
The logrank test statistic compares estimates of the hazard functions of the two groups at each observed event time. It is constructed by computing the observed and expected number of events in one of the groups at each observed event time and then adding these to obtain an overall summary across all-time points where... |
I have a non-normal distribution data of two independent samples of patients divided by two groups 'control' and 'treatment'. I would like to verify if there is a difference between the two groups 'control' and 'treatment' and measure this difference, so I am using the code:
wilcox.test(data.to.work$disease ~ data.to.w... |
I am having trouble to interpret tukey's post hoc result from the following
They incorporated post-hoc test results into a table using the ≤< style notation (,,,... correspond to groups)
but how to interpret it?
Is Normal > osteopenic, osteoporotic means Normal has higher significant difference than osteopenic and os... |
I wanna run glm composed of dependent variable named "exposure", and independent variable named "counts" and "distance" respectively.
# since the dependent value I wanna use(exposure) is continuous form and not in range of 0~1,I turned it into 1(upper 25%) and 0(under 75%).
for (i in 1:9) {
a = fread(paste0("first_... |
Referring to this Question, let's not use Jeffrey's prior for $\theta$ but use $Gamma(\alpha,\beta)$ as the conjugate prior for $\theta$. Under quadratic loss function, the bayes estimator for $\theta$ is
$$
\tilde{\theta}_{Bayes}=\frac{\beta(\alpha+\sum_{i=1}^{n} {x_i})}{1+n\beta}.
$$
As opposed to the estimator in th... |
Calder et al. 2022 (version 2) shows an interesting method for estimating the boundary from a point cloud. One of the impressive aspects of this is the algorithm should be able to find non-convex boundaries, thus in theory could provide a better boundary estimate on many datasets compared to finding the minimum convex ... |
The answer is 33033/80265= 0.4115?
|
I am currently learning how to do statistical modelling in R and realised that if the response variable is dichotomous, it is better to go for logistic modelling as compared to linear modelling.
I used the run17 dataset from the cherryblossom package in R. The run17 dataset contains details for all 19,961 runners in th... |
I'm hoping to get some clarifications on the deviance calculation of negative binomial.
From H2O documentation, the deviance formula for negative binomial regression is expressed as:
$$D=2\sum_{i=1}^{N}\bigg\{y_{i}\log\bigg(\frac{y_{i}}{\mu_{i}}\bigg)-\big(y_{i}+\theta^{-1}\big)\log\bigg(\frac{1+\theta y_{i}}{1+\theta ... |
For example, ni this image my global significance tests are all p= 0.8. Does this just mean I have to discard the results of my cox analysis? Even after adjusting for time dependent covariates I find I am getting such p-values.
Can I still use individual Pr(>|z|)for specific covariates?
Thanks!
|
I have a continuous variable X and a binary response outcome D.
The ROC curve I got for D with respect to X is below the diagonal line, as shown in the following picture.
In this ROC curve, the true positive rate(y-axis) is defined as P{X>c|D=1}, and the false positive rate(x-axis) is P{X>c|D=0}.
I want to flip the ROC... |
I want to calculate the p-value between subgroups of my samples. For that, I am using the T.TEST function of Excel. But I do not understand the last parameter, type:
Paired
Two-sample equal variance (homoscedastic)
Two-sample unequal variance (heteroscedastic)
In my case, I cannot use paired (not the same size). But ... |
I need to divide a set of 100 or more response curves into groups.
These curves are formed by backscattering intensity along a range of frequencies. Basically, each curve represents the intensity in dB of response along a continuous series of frequency values (from 36 to 45 kHz with step of about 0.015 kHz). Each targe... |
How do you interpret the standard deviation of the slope random effect in multilevel models?
Suppose I want to show how Urbanization percentage changed across time in Western and Eastern Europe, so it is a multilevel model with random slopes. Suppose the software shows that the mean of the standard deviation of the slo... |
The following table is a set of ordinal data from a survey I have conducted (one of many).
$$\begin{array}{c|c|c|}
\text{Grading}& \text{Count} & \text{Frequency} \\ \hline
\text{1} & 5 & 0.075 \\ \hline
\text{2} & 3 & 0.045 \\ \hline
\text{3} & 12 & 0.179 \\ \hline
\text{4} & 10 & 0.149 \\ \hline
\text{5} & 19 & 0.28... |
PCA (Principle Component Analysis) is often used in statistical settings, yet it has also been described as an unsupervised machine learning method.
It's surprisingly difficult to find clarity online and in academic literature as to whether it is either a Statistical Method, or a Machine Learning Method, or both.
If yo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.