instruction stringlengths 9 38.7k |
|---|
The following graph displays five pairs of stratified odds ratios (not from the same study) with 95% confidence intervals. For this plot, assume the confidence intervals indicate whether the stratum-specific odds are significantly different, with one estimate in the serving as the null value for the other stratum.
Bas... |
Suppose that I have two structural equations:
$$ X = \alpha_1W + \epsilon_1$$
$$ Y = \beta_1X + \beta_2W + \beta_3XW + \epsilon_2$$
In other words, $W \sim N(0,1)$ is a confounder and effect modifier. If want to recover $\beta_1$ using the FWL theorem, by the standard definition, I would perhaps compute
$$\frac{X^TMY}{... |
Suppose we have a $p$-variate random vector that has a multivariate Normal distribution, $\boldsymbol{X}\sim MVN(\boldsymbol{\mu},\Sigma)$. My hypothesis is that the mean vector contains only zeros, $\boldsymbol{\mu}=\boldsymbol{0}$. I think I can test that using Hotelling's $T^2$.
Now, I do not really believe my model... |
I have the following exercise to do:
Let X be a normally distributed variable with mean μ and variance σ^2, i.e. X∼N(μ,σ^2). Define a new random variable to be Z=X^2−X. Compute the Expected Value of Z
I was thinking I could just do E(Z)=E(X^2)-E(X) and end up with σ^2 - μ, but this feels "too easy".. Any help is super ... |
How do we adjust for the confounder of a confounder in order to compute unbiased estimates of the treatment effect of $A$ on $D$? See the causal graph (DAG) below:
What do we call the confounder $C$ (of a confounder $B$) - does we give such variables/confounders any special name?
|
From what I've been reading, if there is no underlying difference between the 2 probabilities distributions we would have perfect entropy.
I'm putting an example below. Can anybody explain why the cross entropy of two exactly equal probability distributions is not 0 here?
### example of calculating cross entropy for id... |
I am quite new to hypothesis testing, and I am currently trying to familiarize myself with the G-test for independence. In my research, I came up with a question for which I could not fit an answer online. In brief: is it possible to compute the probability of making a type-2 error with this test?
Setup: For the G-tes... |
I'm working with a small data set and with 4 algorithms. The optimization process showed to be Very important as long as it improves a lot their performances. So, I'm using 10x5 nested-cv to estimate my algorithms performance, in this case errors since I'm using regressors.
My doubt is, in order to see if some algorith... |
I am not well-versed in statistics, so please bear with me. I will try to explain things to the best of my knowledge.
I have some hardware that produces a signal, this signal has an offset and I want to subtract this baseline from my signal. This is the procedure I use to determine the baseline:
I take many noise sampl... |
I'm trying to model a propensity problem to a product, which is highly unbalanced (99.9% against 0.1%). Here is the details of my dataset:
The target is a flag which indicates if the client bought the product in the future interval of 20 days;
If the client buys the product, he receives a flag 1, and 0 otherwise;
The ... |
From the book "Understanding Machine Learning: From Theory to Algorithms", The Realizability Assumption is defined as follows:
There exists $h^{\star}\in \mathcal{H}$ s.t. $L_{(D,f)}(h^{\star})=0$. Note that this assumption implies that with probability 1 over random samples, $S$, where the instances of $S$ are are sa... |
I am interested in assessing the association between the two doses of a dietary supplement on an event of interest.
The primary exposure is 'two doses of the supplement', and the comparator is 'no exposure to this supplement'. I am planning on performing time-to-event analysis comparing the two exposure groups.
My ques... |
I need to make a model by selecting the best set of rules (it's a model to predict the toxicity of chemical compounds).
Each rule predicts a different amount of compounds, with a relative precision:
PPV = True Positives / (True Positives + False Positives)
One way of selecting the best set of rules could be to order t... |
The Nelson rules for control charts describe patterns, which are "special" and need our attention. One of these rules is the "alternation rule". According to Nelson it is "unusual" to obtain a series of 14 alternating points -- direction does not matter.
I tried to simulate the probability of such an event using a norm... |
I have a question regarding the question here. In @Thomas Bilach answer, he gives the following example, which I have edited a bit more to add my own hypothetical examples:
$$
\begin{array}{ccc}
item & day & D_{it} & D_{it}^{-3} & D_{it}^{-2} & D_{it}^{-1} & D_{it}^{0} & D_{it}^{+1} & D_{it}^{+2} & D_{it}^{+3} \\
\h... |
I have started learning the math behind the AdaGrad optimizer, and two questions emerged that I cannot find any answers on the Internet:
It is said that in AdaGrad "parameters associated with low-frequency features tend to have larger learning rates than parameters associated with high-frequency features". But how can... |
Is it possible for one list X all positive to have a higher arithmetic mean than that of list Y (all positive) but the 80 percentile of X not exceed 70 percentile of Y?
What's an example?
|
Suppose a random sample of $n$ variables from $N(\mu,1)$, $n$ odd. The sample median is $M=X_{(n+1)/2}$, the order statistic of the middle of the distribution.
How to prove that sample median is not a sufficient statistic of $\mu$? Do we need the probability density function of M?
I would like any help.
Note 1: I'm stu... |
I'm studying Econometrics from Stock and Watson, and when mentioning the F-statistic in the Multiple Regression (Chapter 7), there is this formula:
How can I estimate $\hat{\rho}_{t_{1},t_{2}}?$ Can I use the correlation coefficient between the two variables?
I suppose there is a standard formula used for the statisti... |
For an experiment where I simulated n=10000 games of chess with random moves I obtained the following results:
White won = 1674
Black won = 1721
Draw = 6605
Now I am interested in testing whether white has an unfair first-move advantage or not. Ofcourse in classic chess the answer is yes, but for random moves it seems ... |
The target distribution is of the form:
$ p(x) = x^{-6}.e^{\frac{-2.475}{x}}$ with a support in the interval $[0.0, 2.0]$.
This gives a plot like
Now, to choose a proposal kernel, I think a lognormal may suffice. To determine what the values of the hyperparameters for the lognormal is that could be a best fit to the t... |
In "The book of why", Dr Pearl concludes that a BBG drug cannot exist after phrasing the sure-thing principle in 'a more correct way' (pg 214). He does this by first "insisting" that the businessman's decision has no effect on the election, thus making the sure thing principle valid.
To make the sure-thing principle v... |
Assume the simple, well-known scenario: Data = $(x_j, y_j)_{j=1}^{n}$, and that, as usual, the $n$ data points are drawn iid. The $x$'s may be considered non-random, but the $y$'s are observations from a random $Y$.
\begin{align*}
\text{Posterior:} \quad f_{\Theta|\text{Data}}(\theta | \text{dat}) &=
... |
I have a multilevel model with two factors (factor A - 2 levels; factor B - 3 levels) and continuous covariate, all of which interact. There is a random effect of participant and random slopes on the factors. Using lme4 in R The model looks like this:
lmer(DV ~ covariate*FactorA*FactorB + (1 + FactorA + FactorB | parti... |
Working on a two-part project. First, we're estimating the total size of a very large population. Each member of the population has a standardized random 15-digit identifier, and we have guessed using a brute force method until discovering enough extant identifiers (20,000) to estimate the population size, with a confi... |
I understand how later neural language models (such as those used in the Word2Vec papers) framed the language modelling problem in a self-supervised way by learning to predict the next word (or any context word) in a sequence of words.
However, when reading Bengio et al's original Neural LM paper (a neural probabilisti... |
Assume we have N data points like
data = [(x1, y1, z1), (x2, y2, z2),....., (x_N, y_N, z_N)].
I am looking for unsupervised ranking algorithms. The thumb of rules for higher ranking are, higher x and y, but lower z. But high x, high y and low z may have competitive contribution for ranking.
For example,
D = [(10, 500... |
Firstly, I am new to all of this.
I am currently trying to predict the chance of different students finishing top of their class. Students will be separated into different groups depending on the class they are in (class id), and obviously only one student can finish top of each class (top of class=1, not top of class=... |
I would like to calculate adjusted means from a glm model with family = binomial.
This is my script:
data$Phenotype<- as.factor(data$Phenotype)
data$Batch<- as.factor(data$Batch)
data$Tray<- as.factor(data$Tray)
data$Genotype<- as.factor(data$Genotype)
model = glm((Phenotype)~ Batch + Tray + Genotype, data=data, family... |
I have a question about Python coding of a simple MCMC exercise. I wanted to visualize the transition matrix obtained from MCMC simulation. However, according to the following code, every entry is zero except one which has value 1. It means that the markov chain only visited a single state throughout the entire simulat... |
I'm implementing HMM myself and I'm stuck with this concept.
Let T be the total time steps.
$\pi$ be the initial probabilities.
A be the transition matrix.
B be emission matrix.
$\alpha_{t,i}$ represents the probability of being in state i during time t considering all the previous observations.
$$
log(\alpha_{0,i}) = ... |
I am trying to acquire some intuition about testing multivariate hypotheses where the test statistic involves inverse covariance matrix. As an example, suppose we have a $p$-variate random vector that has a multivariate normal distribution, $\boldsymbol{X}\sim MVN(\boldsymbol{\mu},\Sigma)$, and we have a sample of size... |
My limited understanding of modelling has been that in most cases hierarchical models give wider CI-s, meaning that they give more conservative results.
However, to my surprise, when playing with different data and models, I sometimes see the opposite: the width of fixed-level intercept is narrower compared to a non-hi... |
I would like to know if there is a general scheme to do model selection based on the posterior samples from a set of ABC (Approximate Bayesian Computation) runs for a given set of models.
Particularly I was confused by this question and answer which indicates that counting the accepted samples from resimulations from t... |
I'd like to preface this question by stating that I am a novice. I may use some terminology incorrectly and would appreciate correction if I do so.
Currently I am running reliability tests to validate the reliability of product prior to shipment. Units are tested for an predetermined amount of time whilst being put und... |
I am going to do an experiment with planting seeds involving 2 factorial treatments. There are 4 families of seeds: F1, F2, F3, F4 and 3 foliar seed treatments: T1, T2, T3. There will be 160 seeds for each treatment combination. I will then plant these seeds in 4 separate boxes, with each box containing 40 seeds. The t... |
I want to compare the median of body temperature (passem$temp) across two groups (whether the patient died or not, died30in.numeric). I ran Mann Whitney Wilcoxon first in R using this command wilcox.test(passem$temp, died30in.numeric) and got these results:
> wilcox.test(passem$temp, died30in.numeric)
Wilcoxon ran... |
This question is related to a calculation on page 20 of Kernel Smoothing by Wand and Jones.
i) Let $f:\mathbb{R}\to \mathbb{R}$ be a density for a real-valued random variable, and assume that $f''$ exists, is continuous and square integrable, i.e. $\int_{\mathbb{R}} f''(x)^2\ dx < \infty$.
ii) Let the sequence of bandw... |
I am trying to calculate RR for case where I have N x N x N table. First N is City (20 cities) second N is Age group (5 groups) and third one is Industry (4 industries). All values are categorical. How to reach an answer of the following form: In Stuttgart there is significant number of old people working at Mercedes... |
Im trying to approximate the p. Value using bootstrap in R by boot function
But in the result is repeated i.e the values of t0 ….tn are the same so the p value is zero !!!!! I don’t understand why this happened
|
I have a cross-sectional dataset with the data example below, where the variable (id) refers to each individual in the df and rows represent the different number of Reddit posts written by each username, which vary across individuals. My goal is to use OLS regression to predict average sentiment, based on individual-le... |
I am stuck trying to solve the following exercise..
Let $X: \Omega\to [a,b] \subset \mathbb R$ be a uniformly distributed random variable. Compute the n-th moment of $X$, i.e. compute $\mathbb E[X^n]$ for any $n > −1.$ (note that you should also include negative fractional moments!
The fact that n can be smaller than 0... |
So let's say I have a dataset with 1000 samples, 20 cols. Regression problem.
I use train-test split, say 80-20%
I create a Model, lets say Random Forest. I use gridsearchCV to find the best model that gives me highest R^2 for the same. Now, imagine this is a kaggle competition, that gives us a result or a score on a d... |
I am training a neural network in TensorFlow and I would like to use firstly an exponential decay optimizer scheduler (https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/schedules/ExponentialDecay) and then also a cosine decay (https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/schedules/CosineD... |
I've got a rather hard question concerning my regression.
My data has the following properties.
Dependent variable is count data and is overdispersed and consist of repeated measurements within multiple groups
Two independent variables that are categorical data (5 point likert-scale)
My goal was to quantify how well ... |
I am a PhD in biological sciences with some background in graduate-level probability. I am interested in questions like what does it mean for an event to have probability $x$ at a philosophical level.
I have read some of Russell's writings on the philosophy of mathematics and I am maybe looking for something in that fl... |
I have Covid-19 Case fatality rate and Number of cases for 37 states as dependent variables and HD Index of the 37 States as the independent variable. That is a single predictor and multiple responses. I want to use Fixed Effect Model (panel data) to show the effect of Human Development Index (HDIs) on Case fatality ... |
I have a set of around 23k rows of data. It is a set of animal movement lengths (dist), going from 0 to several thousand, with the majority being around 50 to 100. The data doesn't have a normal distribution. It is considerably skewed to the left right (skeweness = 2.6348, kurtosis = 10.6348). As I understand it, a gam... |
I understand we should always scale/normalize the variables in ANN models (correct me if I am wrong), but still, I was wondering if certain activation functions, like sigmoid, can be used when the output neuron of a neural network is a continous, not scaled/normalized variable? And if not, would it change if the variab... |
I want to find out if one behavioral intervention had also an effect on another behavior (let´s say smoking). Currently, I am testing the moderation with a two-part model in MPlus, where smoking is the dependent outcome variable. Previous analyses suggested a square-root transformation of the terribly skewed data. In m... |
Don't want to write a big paragraph and for the beginning, what I would like to say is I started doing a machine vision project and I flattened my 256x256 photos into a vectors of 65,536 features.
First of all, I want to point out that I'm a total beginner when it comes to machine vision. I trained a few ML models, usi... |
As I mentioned in the question title, I want to generate specific uniformly distributed samples.
I need them to model a real world scenario. For my real data, I estimated a function, which approximates the auto-correlation function by a e-function. I also modeled a distribution model for my real data.
I can generate sa... |
I fit a cox regression using the coxph function of the survival package. Now I wanted to do the same on a multiple imputed data set (which I already have, generated in another software). I found some ways to do this by using a single dataset with aggregated values. However, in my understanding, I should not use aggrega... |
I understand what the margins=True option in pd.crosstab does, but I don't understand why it would influence the outcome of the chi2_contingency.
Here an example:
#data_crosstab:
srm no yes All
version
<V4 132 105 237
V4 29 24 53
All 161 129 290
chi2_contingency(data_cr... |
Consider the parameter $\theta$, which is a deterministic unknown in the frequentist paradigm. Given a random variable $X \sim p_X(x ; \theta)$, consider the estimator $\Theta(X)$ of $\theta$, and the error defined as $$e = \Theta(X) - \theta$$ The bias of $\Theta$ is defined as $$\text{Bias}(\Theta) = E[e] = E[\Theta(... |
I am currently working on a project regarding the external validation of a logistic regression model for binary classification. I would like to create a calibration plot and compute the calibration-in-the-large (intercept) and calibration slope, like the following figure.
I noted that most online tutorials involved usi... |
I have time series data which is measured in each 5 second. I am trying to forecast the data. But, ACF and PACF results are seems to different than other plot that I have seen. I am using statsmodels as a library like below.
from statsmodels.graphics.tsaplots import plot_pacf
plot_pacf(ts, lags = 40, method = "ols");
... |
EDIT: edited the question slightly to keep the diagram intact but make it clear that we have an observed value and a hidden unmeasurable variable.
Here is the story. There are patients who have a certain disease D. We suspect that the disease might be aggraviated/caused by a certain condition C (our hypothesis: C cause... |
If $\hat{\theta}_n$ is an estimator for the parameter $\theta$, then the two sufficient conditions to ensure consistency of $\hat{\theta}_n$ are:
Bias($\hat{\theta}_n)\to 0$ and Var$(\hat{\theta}_n)\to 0$,
then we will have $\lim_{n\to\infty}Pr(|\hat{\theta}_n-\theta|>\varepsilon)=0, \forall\varepsilon>0$.
Suppose $X_1... |
I want to use pcls to constrain beta coefficient on a linear term in my gam.
Specifically, I have a model: gam(y ~ s(x1, ...) + x2, data=dat), and I want to make sure that x2's coefficient lies between -1 and 1. How can I do it?
|
When handling probabilities close to 1, it is often more helpful to use the complement (i.e. 1-P).
For instance, we say "there is a 1 in 1,000,000 chance of an event occurring", instead of "999,999 in 1,000,000 chance of nothing happening" or even 99.9999% chance.
Doing so also allows one to make comparisons on a log-s... |
I'm a pure math student teaching myself the basics of quantitative finance, and I'm having a hard time understanding some of the approximations/nonrigorous claims that are common in applied statistics. Here's a representative example from Stephen Blyth's An Introduction to Quantitative Finance. One of the first exercis... |
I don't want to explain my real data, but I will make up an example that is equivalent.
Let's say people are judging the quality of paintings and can say "like" or "dislike".
Paintings can have five colours in them: red, yellow, blue, green and/or orange. The paintings can be any size.
Count Approach
Let's say I catego... |
My experiment had 3 tubs, each containing the same substrate. I grew maggots in the substrate of each tub.
Once mature, 3 samples of these maggots were harvested from each tub giving me 9 subjects.
The rest of the maggots were left in the tub and developed into flies which laid eggs. these eggs then hatched into magg... |
I am familiar with methods to determine the Autoregressive and Move Average orders of ARIMAX type models in a univariate time-series context, usually formulated as regression with ARMA errors. I am particularly partial to the Box-Jenkins method of identifying an appropriate ARMA order as I find it typically leads to mo... |
I'm doing a retrospective comparison of two treatments (A and B) for eye disease. Both procedures have the same most common side effect (dependent variable) but their indications differ slightly resulting in different average age of the patients treated (75 in treatment A and 69 in treatment B).
As you would expect, ol... |
I am using stata 12 as well ase stata 14.2
Here I am trying to run the multivariate probit model for my data set. But the command is not being read by stata. At the same time I am not being able to install the mvprobit package of stata.
I have checked number of youtube tutorials for this but haven't been able to run th... |
As I understand it, the subdistribution hazard model gives hazard ratios which tell you the direction of the effect of a covariate on the event occurrence, as defined in the paper below. If the SD hazard ratio for age is 1.2 for event type 1, an increase of a year means the probability of event type 1 (at any particula... |
I'm trying to derive vectorized backpropagation from mostly first principles, but I'm having
trouble marrying how
this
paper explains backpropagation with the derivative of a loss function with respect to a matrix.
As the paper states (and I believe I understand), you can view a neural network as a composition
of funct... |
I'd like to be able to measure how "different" two distributions of ordinal (but not interval) variables $X$ and $Y$ are. Given three random variables $X$, $Y$, $Z$ I'd also like to be able to say whether $X$ is "more different" from $Y$ than $Z$ is from $Y$, etc.
Essentially, I'd like to find a distance function (in t... |
Let's say we conduct an A/A test for testing app.
We will randomly divide users into two groups, with a 50% probability of each user getting into one or the other of the groups, but both groups will get the exact same app.
The onboarding conversion rate for these groups turned out to be different, lets say because of s... |
I have the following question. It's about transient and recurrent states in Markov Chains. I know when a state is one or the other, but there is one thing I can't figure out or understand.
We have learned that the sum of the First Return Probabilites (FRP) must be = 1 for a state to be recurrent, otherwise it is transi... |
I am working with a filed experiment, where we tested the effect of a molecule at three dosages on the maize grain yield. the experiment was conducted for 2 consecutive years and in 2 different soils. I want to test with an ANOVA the effect of the dosage on the yield, considering both the year and the soil as random fa... |
How to derive the variance formula in Mann kendall test in the below link.
https://vsp.pnnl.gov/help/vsample/design_trend_mann_kendall.htm
The idea for this test looks kind of random if I want to design test for testing trend of a time series how do I ensure that it is non biased and correct.
in general if I have an id... |
I want to run a binary logistic regression to understanding (modeling) factors affecting nest-site selection in a bird species. I have Presence/Absence data and 13 predictors. The sample size is small. 32 Presence points and 64 Absence points.
I want to run a stepwise binary logistic regression in R manually. I have 2 ... |
The time series $\{X_t\}$ is said to be weak stationary if for all $n
> ≥ 1$ for any $t_1, . . . ,t_n ∈ T$ and for all $τ$ such that
$t_1+\tau, \dots ,t_n + τ ∈ T$ all the joint moments of order 1 and 2
of $X_{t_1} , . . . , X_{t_n}$ exist, are all finite and equal to the
corresponding joint moments of $X_{t_1+\tau} ... |
Suppose the correlation between vectors $A$ and $C$ of size $N$ is some value $r_{AC}$, and likewise for $B$, $C$, and $r_{BC}$. What is the distribution for $r_{AB}$?
Because correlations are cosines of angles between unit vectors, it is easy enough to compute the minimum and maximum potential values for $r_{AB}$. I h... |
In Metropolis - Hasting sampling, the proposal distribution does not necessarily have to have a form similar to that of the target distribution from which attempts are made to sample from.
For one, I understand that a symmetrical choice of proposal kernel can vastly simplify the conditional proposal which yield a simpl... |
I am running a test of association between a categorical/multinomial variable (example: hair color) and a continuous/nominal variable (example: ratings of happiness 0-100). I believe the correct test for this is the eta (η) coefficient / eta (η) correlation coefficient / correlation ratio. I am using SPSS.
I have found... |
I have used the JonckheereTersptraTest function in R and got a significant p-value. I would like to calculate effect size, but cannot figure out how to do this in R. Any help would be appreciated!
|
I am trying to evaluate the following integral marginalized across all possible functions.
$$\mathbb{P}(y|X,\theta) = \int \mathbb{P}(y|f)\ \mathbb{P}(f|X,\theta) \ df$$
In G.P. we assume prior to be of zero mean and a covariance matrix i.e. $\mathbb{P}(f|X,\theta) \sim \mathcal{N}(f;0, K)$. The likelihood is modeled ... |
I am running a binary logistic regression with splines in R (using the rms package). I do not know what p-value I can report in an article. Should it be the nonlinear p-value or the main p-value?
> knots1
[1] 284.00 314.55 366.15 640.00
> knots2
[1] 19.00 24.85 45.90 109.00
> knots3
[1] 32 104 139
...
model2 <- lr... |
I am using a generalized linear mixed model after multiple imputation on survey data. However, after performing the analysis, I cannot extract random effects and confidence intervals for the estimates. I am using the following code:
library(survey)
library(mitools)
library(lme4)
data(nhanes)
# Set up the survey desig... |
I'm just checking that I understand things correctly. If one wants Cohen's d-style effect sizes, and you have estimates from a GLM -- say a logit model -- there is no such thing--right? Because there is no error variance to reference.
Nonetheless, I came to the startling and upsetting realization that it's easy for use... |
I have a panel of observations, where there are $T$ days and each day there are $N$ observations. So the panel is $X \in R^{T \times N}$. The question I'm trying to answer is: is the cross-sectional variance in March higher than average? To answer this question, I have 31 observations of cross-sectional variance in Mar... |
I want to impute missing data in univariate meta-analysis. My outcome (no. fractures) is a binary variable. Below is the WinBUGS code I have tried. The code is compiled and I got an output. My question is, why there are no meaningful values in this output, i.e. why most of them are zeros?
model{
for(i in 1:11)
{
rt[i]... |
I'm editing a dissertation that has this sentence: "The regression analysis equation demonstrates a F(1,44) = 6.220 and p = 0.016 was significant on Problem 2 with the following question." I'm not well versed in statistics, but the syntax of the part in bold doesn't make sense to me. It appears this should be "demonstr... |
I am trying to comprehend what the authors are asking me to show in this following exercise problem from Hogg, McKean and Craig's book titled "Introduction to Mathematical Statistics."
3.5.22. Readers may have encountered the multiple regression model in a previous course in statistics. We can briefly write it as follo... |
I am new in stratified sampling. I have a regression task to analyse the relationship between income, household size and expenditure, using python. Both income and expenditure are continuous variables, while household size is categorical. I have following questions:
I asked chatGPT, it said if it is regression task, i... |
In this post Karpathy says
verify loss @ init. Verify that your loss starts at the correct loss value. E.g. if you initialize your final layer correctly you should measure -log(1/n_classes) on a softmax at initialization. The same default values can be derived for L2 regression, Huber losses, etc.
I understand that h... |
I need to build an overall survival regression model that can show the survival plots for id's with multiple rows.
I have used the Weibull function to define the baseline hazard function h0(t) and Cox hazard model to evaluate the effect of covariates.
Then I evaluated the hazard function h(t), followed by cumulative ha... |
Consider the following problem:
You have 3 groups. Your null hypothesis is that the 3 groups are distributed uniformly. Your data consists of 90 observations. Under the null hypothesis we expect to observe 30 outcomes in each of the 3 groups. The actual data consists of the split 40/30/20. We would like to test our hyp... |
The exact problem I am trying to solve is as follows. I have a Probit specification:
$$ P_t = \Phi(\beta^T x_t) $$
where $\Phi$ is a standard normal CDF and $x$ is a matrix of independent variables measured at time $t$. $P$ is the probability of success.
I am trying to calculate the marginal effect of change in each $x... |
YOLO v1 model predicts the confidence score $\hat{C_i}$ but I am not clear with the purpose of $\hat{C_i}$.
Definition of the confidence score in the YOLO v1 paper.
$\hat{C_i}$ is used in the loss function as in the paper.
It seems to me that $\hat{C_i}$ might be redundant because the confidence that the predicti... |
I am working on a dataset of longitudinal (baseline and control) data about some values in blood in two treatment groups
I performed a propensity score matching with the matchthem methodology in R (first imputing the data with mice function, and then matching with the matchthem package). After that the package suggest ... |
Given a set of n points, I have to find a subset of given size m<n, so that the m points are as uniformly distributed as possible across the volume enclosed by the convex hull of set n. See example figure:
Here we have a toy 2D example of the problem with n=600 and m=100. I am solving this problem using Evolutionary A... |
Which statistical test/algorithm should I use to compare the customers from 2020-2021 (group 1) and customers from 2021-2022 (group 2). There is one instance for each customer in the data. There are >100 variables for the customers, like age, nationality, total purchase count, gender etc. Which test/algorithm can I use... |
CONTEXT:
I gathered data from 1000 participants in five different countries, with each line in my dataset corresponding to a unique participant. My study examines how much individuals support the idea of their government being more open to their input related to policy making, with the dependent variable being the mean... |
An student want to estimate
$\phi(a)=\int_{-\infty}^{a}\frac{1}{\sqrt{2}\pi}e^{-\frac{1}{2}x^2}dx$.
He made one computational experiment as follow:
Simulated the draw, with replacement, of 1000000 (one million) balls in a urn which contain 8 green balls and 2 red ones.
Repeated the above simulation 500000 (five hundred... |
The stype argument in boot of R can take 3 values: "i" which is the default, "w" or "f".
What is the concept of "w" and "f"? I really tried to find articles about this stuff, but they are scarce. Can anybody explain them to me and show examples of codes on how to use them for linear regression models (implementing boot... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.