instruction
stringlengths
9
38.7k
I’m a little unclear on why this proof constantly utilises mean of u(which should be just 0). Can someone please clarify if I’m missing something?
I'm currently trying to estimate some properties of a Gacha game. I can simulate N draws over T time-steps and get a matrix $C \in \{0,....,C_\text{max}\}^{N \times T}$ where $C_{i,t}$ corresponds to the number of successful draws in the $i$-th trial up to time-step $t$. You can only get a maximum number of successes $...
I am building a VAR modell in order to discover how oil price shocks and 3 macroeconomic control variables (gdp_growth, Interest rate, exchange rate) influence core and headline inflation in the USA. I use semiannual data from 1986 to 2022. All variables are non-stationary (in case of gdp_g and inflation variables adf....
I would like to estimate the proportion of known words in a text from a sample of tested words, where a subject answers if they know the meaning or not, and the frequency of how often they appear in a text. I want to know the proportion of total words, not unique words, so if "dog" appears in a text 10 times, it counts...
I have a classification problem of 8-classes, which are extremely imbalanced. The input dataset consists of sequences, each of length n features, where n = 19. For each of the 8 classes, I have a prior knowledge which subset of the n features are significantly affect the correct prediction of each of the classes. Each...
I've encountered the statement: For $p\in(0,1),$ the location mixture of standard univariate normal densities $f(x)=p\phi(x)+(1-p)\phi(x-\mu)$ is log-concave if and only if $\Vert\mu\Vert \leq 2.$ For the life of me, I can't figure out how to prove this or find a reference. Could you point me to a reference or help p...
I have been using fixed effects (from fixest package) on different type of panel data (longitudinal) models. Mainly parametric. I was wondering if fixed effects could be apply to machine learning models like random forest? (My background is not in stat/econometrics)
In a multi group exploratory factor analysis (MG-EFA), we have analysed CFI and RMSEA. A decision has been made to use the criteria from Marsch et al (1) of acceptable fit when CFI > 0.90 and RMSEA < 0.08, and excellent fit when CFI > 0.95 and RMSEA < 0.05. As far as I've understood, this slightly contrasts Hu and Bent...
The question may sound stupid but I really don't understand the logic behind this. Whenever we do a PCA, we take a covariance matrix on the centered data and do eigen decomposition. In order to project the data to the new eigen basis, in all sources they take a dot product with the eigen vector itself instead of taking...
Say we have $n=3$ bins and $m=3$ different coloured balls (30 red 20 green and 50 blue) in an urn. We draw randomly without replacement a ball from from the urn and place it into the bins. The first 25 go into the first bin, the second 25 go into the second bin, the last 50 go into the last bin. This gives a contingenc...
what kind of process is this? how can i see just from these graphs what kind of process this is? AR? MA? ARMA? ARIMA?
There were similar questions here but as a person with little knowledge about statistics I couldn't understand any of it. I was looking for critical value tables that reached up to to higher amounts or if there was any formula so that I could calculate for it but I couldn't find any definite answer. Is there a formula ...
Maybe a newbie question here, but I’ve not had much experience with sequential models and I’ve not been able to find an example or clear answers to this question online. All tutorials and resources I have found discuss building variants of RNN’s using only a single timeseries as input. But, what if I have multiple (ove...
I am pretty familiar with linear regression analysis, but not about how to generate plots using it (aside from residuals, etc.). I'd like to create a scatter plot of two variables, say depression and gratitude for example, where the values are adjusted for demographic factors (e.g. age, sex, education). I know I can fi...
I use Stata. I build on Standard errors of a two stage least squares regression, Stata to compute manually the standard errors for my model: I cannot use standard packages (ivreg2 etc.) as the second stage is estimated on the whole data while the first stage is estimated on a subset of the data, a feature that standar...
Suppose I have linear stochastic process $$ x_{k+1} = a x_{k} + w_{k} \quad \text{with} \quad x_0 = x.$$ Here $0 < a < 1 $ and $\{w_{k}\}$ is a sequence of i.i.d. random variables. I am wondering if there are results for the limit or stationary distribution of the process, i.e., the probability distribution of $x_{\inf...
Much has been asked on CV regarding the Kolmogorov-Smirnov (KS) test, but not in the context I need. I'm wondering how feasible it would be to employ KS as a measure of distance between two dependent PDFs, as opposed to using something like the Kullback-Leibler (KL) divergence, cross entropy, or Hellinger distance Say ...
I'm creating a classifier using linear regression to classify images of hand-drawn digits from the MNIST dataset. I realize that linear regression is not the appropriate approach, but this is for a school assignment meant to illustrate why logistic regression exists. Anyway, my issue is that when I fit the model using ...
My study design consists of two factors (one with 2 levels, the other with 6) and a continuous response variable. In order to analyze the influence of both factors on the explanatory variable I built a linear model in the following format: modela<-lm(response~factor1*factor2, data=dataset) I was going to run a 2-way AN...
Suppose I have a 2x2 table: $T = \lbrace a,b,c,d \rbrace$, where $a=T(1,1), b=T(2,1), c=T(1,2), d=T(2,2)$, where all entries of $T$ are positive integers. Let us assume that $\frac{ad}{bc} > 1$. Now, I would like to create tables $T_1 = \lbrace a_1,b_1,c_1,d_1 \rbrace$ and $T_2 = \lbrace a_2,b_2,c_2,d_2 \rbrace$ subjec...
I have a data with around 1600 patients from an observational study, around 230 events. 800 have a disease, and the rest do not. My main question is the effect of therapy in a multivariable adjusted cox regression model (17 covariates) only in patients with the disease as the literature shows no prognostical benefits ...
I'm looking for a metric that behaves like this Here, N can be interpreted as the total number of positive predictions. (Alternatively, you can interpret N as the total number of true positives. Either should be fine.) I want the score to fall off a cliff if the false discovery rate goes above 5%. Otherwise, the metri...
I followed this tutorial from this question. The dataset and example used in the mentioned tutorial seems famous one and it gives following eigen vectors:- -.735178656 -.677873399 .677873399 -.735178656 I have used following formulas:- i get following eigen vectors from both formulas:- .735178656 .677873399 -...
I have tried to proof the variance of this estimator. Is this right?
I'm running a moderated moderation model (model 3 of PROCESS macro for SPSS) in order to explore a three-way interaction, with one independent variable (A), one dependent variable and two moderators (B, C). I was wondering if are there some assumption to be considered, such as if the significance of the direct effect o...
I assessed the correlation between two groups of values, A and B. I used both the Spearman correlation and the Chatterjee correlation. There are four potential cases to observe in this correlation assessment. Case Chatterjee Spearman 1 Not-Significant Not-Significant 2 Not-Significant Significant 3 Signific...
My question is firstly wondering about the correct procedure on how to bootstrap under the null, and secondly more or less re-asking the following question which has not received any answers: Why shift the mean of a bootstrap distribution when conducting a hypothesis test? If we use the bootstrap for hypothesis testing...
Given two independently uniform distributed random variables angle $\theta \in [0,2\pi]$ and radius $r \in [0,1]$. I obtain for the joint density function with polar coordinates: $$ f_{r,\theta}(r,\theta)= \frac{1}{2\pi} $$ and thus for the transformed density function in cartesian coordinate system (with multipl...
I came across this interesting question on Quora (someone else asked): How can I penalize a deployed classifier for every wrong prediction in the production run? I want to implement an online model improvement for an ML algorithm. While there is the word "online" in the title, in fact the post was referring to model we...
I'd like to run a power calculation involving a random-intercept cross-lagged panel model. To do so, I need to simulate data with the relevant structure (e.g., between and within-person effects). Could anyone help with this?
I have a dataset that looks somewhat similar to this: > dput(df) structure(list(Death = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), Insurance = c("Medicaid", "Private", "Private", "Private", "Medicaid", "Private", "Private", "Private", "Medicaid", "Medicaid", "Private",...
Here is my data with value (numeric), group (A/B), Time (T1,T3), and Condition (neutral/reward) variables. # A tibble: 6 x 5 ID group time condition value <chr> <fct> <chr> <chr> <dbl> 1 Tpp01 A T1 bias_neutral 61.7 2 Tpp01 A T3 bias_neutral -11.4 3 Tpp01 A T1 bias_rew 30...
I have a question regarding communalities when doing factor analysis. I understand the concept of communalities (e.g., its a function of variance, like R^2, as in they look at how much variance in the latent factor is explained by that item) and how they relate to uniqueness (e.g., 1-communalities = Uniqueness; the var...
If $X_1,\ldots,X_n$ is an IID random sample, with $X_i\sim\,\text{Ber}(\theta)$, prove that $Y = \sum_i X_i$ is sufficient using the definition of sufficiency (not the factorization criterion). Now the definition of sufficiency I'm given is: A statistic $Y$ is sufficient if the joint distribution of the sample given th...
I have three sets of data, to which I want to apply Dunn's test. However, the test shows different results when performed in GraphPad Prism and R. I've been reading a little bit about the test here, but I couldn't understand why there is a difference in the p-values. I even tested in R all the methods to adjust the p-v...
As we know, Lasso regression has an objective of the form: $\min_w \frac{||Xw - y||_2^2}{2n} + \alpha||w||_1,$ and Ridge regression has the form: $\min_w ||Xw - y||_2^2 + \alpha||w||_2^2.$ My question is - why does the lasso regression objective contain the term $\frac{1}{2n}$ and ridge regression does not? Is there an...
I am trying to understand this, first, let me define it then I have to construct an example to understand this, please let me know if my intuition is correct or not. Thanks. A statistical population consists of all the measurements of interest in a statistical investigation. Usually, a population is described by a rand...
I am starting from a set of percentiles and the values at the percentile from which I fitted a skew-normal distribution. So I get a CDF and a PDF function describing the distribution. Now I'd like to generate a random sample from this distribution in python, and I was trying to use the numpy.random.choice function, to ...
What can the reasons be that the assumption of proportional odds / assumption of parallel regression lines is not met? By using MASS::polr in R, I tried to run different models and change variables, but the brant test shows non-proportionality persistently. How can I study and find out what may cause this? I looked at ...
I am trying to understand how both temperature (factor: 6 levels - 20, 23, 26, 29, 32, 35 degrees Celsius) and species (factor: 2 levels HA and AP) affects the likelihood of moving from one life stage to the next (in this case from the 2nd instar to the 3rd) using a logistic regression model as below: X3rdmodelA <- glm...
I have a dataset of the diet of a species, with the percentages that each individual ate of each prey. My goal is to describe its diet and retrieve the percentage that the species eats of each prey (the sum of all percentages should be equal to 100%!). I retrieved the mode and lower/upper bounds of each prey by fittin...
I understood the Bayes rules described in the above equation However in the above equation, class y replaced by parameter set $\theta $ I want to know why we don't immediately use y, but we use the parameter set $\theta$ of a function that takes $x$ as input and predicts $y$
Is it true for rvs $X,Y$ where $E[X]=E[Y]$ and $V[X] \geq V[Y],$ the Jensen gap of $X$ is larger or equal the Jensen gap of $Y?$ It seems intuitive. I failed to prove it or find a reference.
My goal is to Feature Engineering the column Education_Level. This is an obvious ordinal data. However, I am having difficulty to put Education_Level to choose -1 or np.nan. The difficulty is that I don't know the effect of np.nan and -1 to the regression, classification, clustering algorithm. I believe the ordinal lev...
I am taking a statistics course where we are learning about Logistic Regression. In particular, we are learning about the relationship between the regression coefficients and the Odds Ratio. This article on Wikipedia (https://en.wikipedia.org/wiki/Logistic_regression) provides a good summary: "In simple terms, if we hy...
I'm currently working on a project for school and for this project I need to run a regression that tests if there is a diminishing return for two variables. This is my current model as I am basing it off what I've seen elsewhere online: model2 <- lm(Stability_Change ~ (Total_SSA)^2 + Total_SSA + rpe_agri + Population +...
I am a beginner in Time Series Forecasting meaning I have created some simple forecasting models and used them and I am also familiar with Stats and Probability but not that good just some basic concepts. I don't know the fundamentals of how they work and the maths behind them and their concepts. I am not that good at ...
I have seen several times that the variance of the distribution is not identified in latent variable models. For example, in a discrete choice models specified as a probit or with an ordered probit model. However, I have never seen an explanation for that. Anyone can give me insights or at least a good reference to see...
My goal is to encode a 'Education_Level' which have values 'Uneducated', 'High School', 'College', 'Graduate', 'Post-Graduate', 'Doctorate'. The problem is that if I drop the first column (in this case 'Uneducated'), then I can't differentiate between 'Uneducated' and unknown category. i.e. 'Uneducated' and unknown cat...
In two datasets that are composed of the same sample number, about 1500, but with different features. The first dataset has 15 predictive features and the second has 40. Now for someone who is training a classifier, but is constantly facing overfitting (high AUCs in the training model and low AUCs in the test model), o...
The article (https://ieeexplore.ieee.org/document/6691771) uses a customized support vector machine with the following loss function: I recognize the slack variable ξ together with hyperparameter C which controls the amount of slack that is allowed. I can imagine that with smaller C, you allow more slack and therefore...
Let $y_i = \beta_1 x_i + u_i$ for $i=1,2,..,n$. If I define $$\hat \beta_1 = \frac{y_1 + y_n}{x_1 + x_n}$$ then whether my $\hat \beta_1$ will be consistent or not in this setup? For my estimator to be consistent, I just need to show $\text{plim}(\hat \beta_1) = \beta_1$ To solve this, I have substituted $y_1$ and $y_n...
In longitudinal experimental trials, where typically (relatively) small sample number of participants are examined, two solutions are proposed to address two kinds of issues: robust estimator of the covariance - in case the model was misspecified and some assumptions were not fully met. This happens typically when oth...
Case1: Say I train a classification model to classify an image whether it's a dog or a cat. Case2: Also I need to train a classification model to classify different breeds of dogs, say 5 different breeds. In case1, the model can easily learn the pattern to differentiate between dog and cat. But when solving Case2 shoul...
I have a large dataset containing the peak velocities of different people. I have then split this dataset into two depending on an attribute (for example male vs. female). Each dataset now contains approximately 30000 values. From this I have then created plotted the probability distributions of the two groups to see h...
I am working a model using (resp) (and indicator of wheeze status) as the response and age (coded as zero for children of age 9) and smoke (an indicator of maternal smoking at first year of study) as covariates. To account for multiple observations on each child we will use random intercept (and possibly slope) models....
I have two groups, A & B. Let's say A are the users who wrote a review for place A, and B for place B. For each user $u$ I have recorded his total number of reviews $r_u$. Since we're talking about number of reviews, which is a very skewed variable, I thought it would be better to use the natural logarithm $\log(r_u) =...
I have the following data Which is basically, a UserId, the place where he came from, and the Suffix (amount of templates that he saw). The context is that this dataset is from a chatbot sales bot. When I formulate the population histogram from each origin, I noticed that a lot of users have only one template. Which c...
In my setting, I have post-intervention observational data in which individuals are nested into villages. The treatment consists of an information campaign that targeted villages in a non-random manner. The campaign attempted to change the attitudes of individuals. I have village-level information with 230 units, rough...
I'm trying to fit a GLM on my dataset which consists of soil respiration data (RS), soil temperature (TEMP), soil water content (SWC), biomass (BIOM), day of the year when the sampling was done (DOY) and the vegetation type (grasslands, old fields, ploughland and oversewn grassland). There are 75 measurements in each t...
Pardon my question, but google does not find any resource on this topic. My question is related to more if they are the same field, can they be used interchangeably or not. As I understand in the sensitivity analysis, the variables are perturbed and their effect on the output is observed. In feature importance we want ...
Is there any number that we can land on for our regression model to predict with high accuracy? (accuracy metrics I have in mind at RMSE or R-squared). Also high accuracy may mean something above 88% to 90% accuracy with 95% confidence interval (I am not glued to any particular number) In my current setup, we have to r...
Here: https://www.python-graph-gallery.com/74-density-plot-of-several-variables Python's seaborn library is used to illustrate how to plot multiple kernel density estimates (KDEs) on the same set of axes using the famous iris dataset. However, it seems to ignore the fact that the plots should be computed using the same...
Consider a non-stationary controlled Markov process represented by a sequence of states and actions $(s_0,a_0,\ldots,s_{T-1},a_{T-1},s_T)$ over a finite number of discrete time steps. If the process were a first-order controlled Markov model then the transition probability between states at time $t$ would be given by $...
For every $n \in \mathbb{N}$, let $N_n$ be the point process on $[0,1]$ defined by the conditional intensity function $\lambda_n: [0,1] \rightarrow \mathbb{R_{\geq 0}}$, where $$ \lambda_n(t) = \mu_n(t) + \int_0^t \kappa_n(t-u) dN_n(u)$$ Suppose $\mu_n$ converges uniformly to $\mu$ and $\kappa_n$ converges uniformly to...
So I've recently learned that if I use GridSearchCV to select the best hyperparameters AND evaluate model performance, this can lead to an optimistically biased measure of performance due to overfitting (Cawley, G.C.; Talbot, N.L.C. On over-fitting in model selection and subsequent selection bias in performance evaluat...
I have 2 groups of 24 members, let's call the groups x and y. In some sense, x is "untreated" and y is "treated". For each member of x and y, there is a discrete value which refers to a time (1-10 days) at which an event occurred (a binary state change). The data is right-censored, meaning there is no data after 10 day...
I investigate the influence of applied strategies (A and B) among two groups of users (novices N=16 vs experienced N=13) on their grades (0-100). For this purpose, I perform the Mann-Whitney test (also known as the Wilcoxon test for independent samples). I have an assumption that those applying strategy A will perform ...
I am trying to use DBSCAN to obtain clusters of chess player rating changes (Elo rank) over one year of games. I have a bunch of input variables, some of which are not normally distributed even if I try and transform them using non-linear functions (e.g. log) or algorithms. If the variables are not normally distribute...
I'm trying to fit a GPD for a set of time dependant data. I have two columns, data which is a value on the negative real line where values closest to zero are considered extremes, and time. Using only the data column I've used the ismev package to produce a MRL plot but the plot doesn't look like any MRL plot I'm used ...
I have a time-series that I want to model using an autoregressive process using statsmodel for benchmarking purposes. This time-series is not stationary: visual inspection and both the adfuller unit-root test and the stationary kpss test shows this very clearly. In addition, its partial autocorrelation values are compl...
I'm doing a matched case control study to assess the impact of a disease on healthcare usage. I'm using observational data, and I have a panel of patients with many years observations each. In the case of patients with the disease, I have a simple cross-section - I track them from the point of first diagnosis, so they ...
Assume multi class classification task where we have 5 labels: 1, 2, 3, 4, 5. For simplicity, let's assume it is the rating of movies, number of stars. I am after a loss function which is aware of the values. Namely for for the case $y_i = 5$ if the prediction is $\hat{y}_{i} = 3$ the loss will smaller when compared to...
I have generated exponential random numbers using x <- rexp(1000,1) with set.seed(1). I can look at them using show(x). But how can I find the $k$-th smallest element of that list in R?
I am trying to extend a parameter estimation of ODE model from constant parameter estimation to time-varying parameter estimation. I have completed the constant parameter estimation (where parameter is kept constant throughout the time); the implementation is as follows: Mathematical background of ODE: The ODE which I ...
Does anyone know what to do if you have a really low r2 number (18%) but the residual and Q-Q plots look normal ? The distribution is normal in the graphs for my multiple regression analysis but the r2 number is only 18% (0.18) ? How do I explain this as how effective it would be as a predicter as aren’t these conflict...
I'm using PROC GENMOD in SAS to model a continuous outcome as function of flight which is binary (1=yes, 0=no) and a categorical predictor (ethnicity.) So I ask PROC GENMOD to output type 3 statistics. The model outputs the slope estimate and associated p-value for each ethnicity vs. the reference, and for flight; and ...
I've trained a Gradient Boost classifier and used it to predict a binary target variable. I plot the ROC, here it is, looks nice and good: However, using the same test data, this is the result of a confusion matrix: How could this happen? the model fails to predict positive cases, the sensitivity is zero, but still t...
Let $X\sim N(70,16)$ and $Y\sim N(70,9)$. Given a sample of size $n=4$ from $X$ and a sample of size $m=9$ from $Y$, compute $$ P(\bar X = \bar Y). $$
I am looking at the relation between two time-to-event variables subject to censoring. The seminal work from Lin and Ying is unfortunately paywalled (https://www.jstor.org/stable/2337178), but I understand the major limitation is that the general method only admits univariate censoring. Has any work dealt with the esti...
I´m modeling with diffrent GARCH-Models the daily standard deviation of a stock market. That includes a rolling forecast model of the daily standard deviation. This works pretty well so far. To compare the rolling daily standard deviation I have to calculate the daily standard deviation of my underlying time serie (the...
In class we are learning about the SMOTE (Synthetic Minority Oversampling Technique) algorithm. As I understand, this algorithm can be used to increase the effectiveness of Machine Learning models when the datasets are imbalanced. An example our professor gave was that suppose you have a dataset with information belong...
I am working with a DID model, I have the Y column, the treatment column with dummies, the time period column with dummies and the interaction. How do I add Year-fixed effect, State-Fixed effect and time trend? Also is this the correct data set up? Id greatly appreciate any help
I am working my way through the statistical inference textbook and am stuck on this question: Suppose that a sample space $S$ has $n$ elements. Prove that the number of subsets that can be formed from the elements of S is $2^n$ Taking examples for $n=2$: $$n=2;\{\{\emptyset \}, \{a\}, \{b\}, \{a,b\}\};$$ And for $n=3...
I am on a project developing a model to predict which of 3 groups customers will belong to. I am currently using multinomial logistic regression. The three customer groups are the Loyals, who regularly purchase from our company; the Switchers, who sometimes purchase from our company, and the Nevers, who never purchase ...
A classical result in statistical theory is the Neyman-Pearson lemma, which not only shows the existence of tests with the most power that return a pre-specified level of Type I error, but also a way to construct such tests. If this powerful result is a lemma, then what eventual result was this used for in the original...
I have a dataset with information belonging to medical patients (e.g. age, gender, height, etc.). Suppose that the response variable is whether or not the patient has a specific disease or not - thus, the goal would be to understand the effects and significance of the different explanatory variables on having the disea...
So far my understanding is that standard errors of $\hat\beta_j$ increase when we have more independent variables in the regression model because variation among those independent variables will increase ($\rightarrow R^2_j \uparrow$). But I saw the opposite thing happened when I add more explanatory variables in the R...
I'm testing mediation with a SEM of four exogenous variables with three mediators on latent variable. I have non-normal variables, so I used MLR estimator for the adjusment, but I can't get the bootstrap CI with this estimator. I found in a google forum that MLR uses yuan-bentler correction. I can add the test=yuan.ben...
In this paper, authors consider method of moments of fitting Gumbel distribution: We know that maximal likelihood estimators are asymptotic unbiased. But are these moments estimators asymptotic unbiased? Or consistent estimators? Can we find the reference to say these two estimators are asymptotic normal?
Risk of death in group A over 6 years is 2%. Risk of death in group B over 6 years is 6%. How do I calculate the risk of death per year in each group? I am modeling the time to event in a cancer treatment group. I am using SAS.
My goal is to tune the Classifier with probability predict_proba() < threshold. Therefore, I need to get the threshold. The problem is sklearn.metrics.PrecisionRecallDisplay do not give me the threshold. scikit-learn.org The code: # Model Definition rf_pipe_tuned = Pipeline(steps=[ ('composer', composer), ('clf...
Suppose that $X_{1}, X_{2}, X_{3}$ are i.i.d from $p_{x}$. Determine the distribution of $Y_{3} = (X_{1}X_{2}X_{3})^{1/3}$. $p_{X}(x) = \begin{cases} 1/2 & \text{if } x = 1,\newline 1/4 & \text{if } x = 2,\newline 1/4 & \text{if } x = 3,\newline 0 & \text{otherwise}.\newline \end{cases}$ I can solve this problem by mul...
I'm trying to fit a GLM on my dataset which consists of soil respiration data (RS), soil temperature (TEMP), soil water content (SWC), biomass (BIOM), day of the year when the sampling was done (DOY) and the vegetation type (grasslands, old fields, ploughland and oversewn grassland). The measurement was done along a 15...
From a theoretical perspective is the Bayesian Optimal Classifier (BOC) the best possible classifier one can make? Better than NN and GBDT? Let's say that we have two distributions $P(X,Y)$ and $P(X',Y')$. And we try to use the Bayesian optimal classifier to distinguish between them. If the BOC has no performance (e.g....
I am undertaking a pilot project using the first 62 data points I have manged to collect. Currently I have 26 cases (disease positive) to 36 controls (disease free). I have used Firth's Logistic regression to examine the relationship between several radiographic independent variables and the disease*. I've selected Fir...
I repeatedly measure two values, $a$ and $b$. Measurement $a$ correlates with two real values $X$ and $Y$. For measurement $b$ the correlation with value $Y$ should be smaller, maybe even 0 while being approximately the same for $X$. I want to estimate value $Y$. I know for sure that $Y$ has linear influence on both me...
I'm trying to calculate the standard deviation of a series of binary outcomes and would like confirmation that my computations of SDEV are correct or not (as explained further below my outcomes shown below in yellow in the illustration don't make sense to me thus I ask for help). I am calculating the rate that a popula...
Please refere to the attached image (source: Wikipedia). They have derived the formula (summation one) for discrete random variable as a special case. Can anybody please help me understand how to derive that formula from the integral formula? I already have understanding for the integral formula(continuous case).
I have one group with n=13 and another with n=26 (proportion 1:2). I have 14 features to use in the classification model. I am using a logistic regression model. My questions are: Is it correct to use a logistic regression with such imbalanced groups? I know that I have too many features for the number of observations...