instruction
stringlengths
9
38.7k
The last sentence of Christopher M. Bishop, Pattern Recognition and Machine Learning Section 10.1.1 Factorized distributions on p.466, states, referring to Equation $(10.9)$, that "Convergence is guaranteed because bound is convex with respect to each of the factors $q_i(Z_i)$ (Stephen Boyd and Lleven Vandenberghe (20...
A friend from Italy pointed me to a nice Probability Theory book written in Italian by G. Dall'Aglio, a well-known Italian probabilist; Original title: Calcolo delle Probabilità, terza edizione, Zanichelli, ISBN 978-88-08-17676-9. I discovered that the author defines the cumulative distribution function of a random var...
When I use glm with family=binomial I get different results than if I use the direct formula, I have looked for an explanation for this and I can't find anything. I hope you can help me! input <- mtcars[,c("am","cyl","hp","wt")] lm_reg<-lm(formula = am ~ cyl + hp + wt, data = input) res_lm<-predict(lm_reg, input, type ...
Let $X_1,...,X_n\sim X$ be $n$ i.i.d. random variables. I want to to test if they follow a normal distribution, in other words, check if their distribution belongs to the Gaussian family. These are the tests I'm considering: Kolmogorov-Smirnov test Kolmogorov-Lilliefors test With these two tests I can statistically t...
Consider two independent random variables $V$ and $Z$. Assume that $Z$ is standard normal. We only assume that $E[|V|]<\infty$ and $E[V]=0$. Now consider the following optimization problem: \begin{align} \min_{a \in \mathbb{R}} E \left[ \max \left( (1-a) V, a Z \right) \right], \end{align} Can we show that the minimiz...
Suppose we have two groups of students: A and B. We want to look at the distribution of these two groups of students in each classroom in a school district by grade (e.g., 3rd) and subject (e.g., math) to determine whether or not group A students are being isolated from group B students in that subject and grade level....
Hy, I am replicating a study that looked into the effect that role models have on inspiration. I am required to do a a priori power analysis to estimate what the minimum sample size would be needed. What I know from the study I am replicating is the following: " The five adjustment items were combined into a single ind...
I'm working through Chapter 2 of BMCP and am having trouble understanding why the plot of a Bayesian p-value looks so unexpectedly "spiky" or multimodal. Here's my code np.random.seed(1337) # Observations are 20 draws from a biased coin-flip Y = stats.bernoulli(0.7).rvs(20) # Model the observations as a vanilla Berno...
I have been using partial least squares regression to do latent variable modeling of a few data sets. Now I am wanting to look at variable importance but am getting stumped on the reasoning behind the construction of the VIP score. I have tried to find some sources on the on this, but every source I have found simply s...
I've been looking at the proof of Planck's Law. This is the first law that triggered the science of quantum theory by introducing the idea of quanta (which come in the form of packets of energy of size $h\nu$ - $h$ being Planck's constant and $\nu$ being the frequency). The simplified form of the equation, that uses P...
In Theorem 1 in Sun et al, Functional Variational Bayesian Neural Networks, 2019, the authors state the the KL divergence between stochastic processes in the supremum over KL divergence between vectors each element of which is sampled from the respective process, meaning \begin{equation} KL(f \| g) = \sup_{n \in N, x_...
I have a dataset and one of the attributes of the dataset is Race. People have multiple races on the dataset. The values for the attribute Race are following Race A A,C B A,B,C I cannot understand how I encode those values. If there is no multiple items for one value then I can encode it using label encoder. I try to ...
Question. If $Y$ is a sub-Gaussian random variable, must the regression residual $\varepsilon=Y-E(Y\mid X)$ be also sub-Gaussian? That is, whether there exists some constant $\sigma>0$ such that $E\big( e^{\lambda \varepsilon} \big) \leq e^{\lambda^2\sigma^2/2}$ for any $\lambda\in\mathbb R$. In terms of the variance...
I have a bunch of observations that are correlated with each other in two different ways, so I'd like to perform logistic regressions but try to account for the correlations among observations to get the best standard errors that I can. I think I can potentially do that via overlapping clusters? E.g., if observations 1...
I want to know the differences between EGARCH, APARCH, TGARCH, QGARCH, GJRGARCH, IGARCH, AVGARCH, PGARCH, GARCH-M and the standard GARCH. I tried to find the information by myself but I cannot find the answer, so I really need your help. My work is find the different thing of GARCH and other GARCH model that why make t...
I have two random variables: $n_1$ and $n$. $$n_1 \sim \textrm{Bin}(m, p_1g)\\ n\sim \textrm{Bin} (m, (p_1g+p_0(1-g)))$$ What would be distribution of (or at least expectation and variance) of $n_1/n?$ $p_0,p_1,g \in (0,1).$ This is based a a small model that I am working on but this stats part is where I am stuck. Mo...
I am trying to work out which types of property are most affected by rolling blackouts (ie. South Africa has Load Shedding where our power utility shuts down power when demand exceeds supply). I have collated the load shedding information into MegaWatts shed per month: Year Month MegaWatts 201502 28400.0 2015...
I just make sure that I understand K-Fold Cross Validation correctly. In K-Fold Cross Validation we divide the dataset into k parts, in which on observation will be in a certain part for the whole process. One fold will be a test set for that iteration, and therefore, all the folds will get only a one chance to test th...
I have been using the hw() function from the forecast package to predict some timeseries objects. I've noticed for some of my timeseries predictions, the prediction interval sizes are almost the exact same size, no matter how far into the future I'm predicting. I would expect the size to increase as you predict further...
Let's consider a time-series $\{X_i\}_{i\in [1, N]}$ such that $X_i, X_j$ identically distributed as priori but are not necessarily indepedent. In fact, let's consider the two-point correlation function $$ g_X(i-j) = E(X_i X_j) - E(X_i)E(X_j). $$ Let's suppose that $g(x)$ has the form of $e^{-\tau x}$ where $\tau$ is ...
What are your go to models for assessing as ACCURATELY as possible the slope and intercept of given predictor and predicted random variables? The goal is to use simulated predictors + outputted intercept and slope to get simulated predicted. I currenlty use a linear regression model but I was wondering if anybody uses ...
I am trying to understand bayesian statistics. I am familiar with machine Learning and the way that best fit is made through loss function. I am stuck with the concept of uncertainty in coefficients. Suppose I have a simple model, where y=trend*x, and the trend coefficient is normally distributed like, Now suppose I h...
I found in Wikipedia the definition of fraction of variance unexplained in the case of a regressor. Is there a meaningful definition of variance unexplained for a classifier?
Given the random sample $X_1,...,X_n \sim N(\mu, \sigma^2)$, I want to perform a Wald test for: $\mathrm{H}_\mathrm{0}: \mu = \mathrm{\mu}_\mathrm{0}$ $\mathrm{H}_\mathrm{1}: \mu \neq \mathrm{\mu}_\mathrm{0}$ What would be the test statistic here? Generally, it is $T = |W| = (\hat{\theta} - \mathrm{\theta}_\mathrm{0})/...
Let $\mathbf{p} \in R^D$ be the first eigenvector obtained by PCA on a dataset $\mathbf{X} \in R^{N \times D}$. $$ \mathbf{X}\mathbf{p} $$ is the first principal component of my dataset. The relative importance of each feature in $\mathbf{X}$ can be interpreted in light of the values in $\mathbf{p}$. With sparse PCA, I...
I am using a DCC (and CCC) GARCH model to model volatility of electricity price returns (using spot and futures) i.e. I have more variables in my model. I need to calculate VaR using these models but I do not know how to calculate it in R. Does anyone know how to do this procedure? Code used: SMF.frame <- data.frame(df...
I have two separated corpus of text, and i would like to understand wheter these are similiar or not using cosine similarity. I'm not sure on how to approach this problem, but i was thinking as a solution to compute the Document-Term-Matrix for each corpus and calculate the cosine similiarity for these DTM. Is this app...
Let $X_1, ..., X_n$ be i.i.d. random variables with the same distribution as the random variable $X$. Let $F$ be the distribution function of $X$. We assume that $F$ and its quantile function $F^{-1}$ are $C^1$. Let $\alpha \in [0 ,1]$ be a probability and let $x_\alpha = F^{-1}(\alpha)$ be the corresponding quantile. ...
I'm implementing Stochastic Search Variable Selection(SSVS) for logistic regression using R. I'm using Spike and Slab prior with indicators $\lambda_{j}$. Here's my model structure: $Y ∼ Bernoulli(\mu(X))$ $log {μ(X)\over1−μ(X)} = X\beta$ $\beta_{j} \overset{ind}{∼}\lambda_{j}N(0,\sigma_1^2)+(1−λj)N(0,\sigma_2^2) \ for...
Let $X_n$, $Y_n$ and $Y$ be random vectors. If $X_n \xrightarrow[]{d} X$ and $X_n - Y_n \xrightarrow[]{a.s.} 0$. Can we prove that $Y_n \xrightarrow[]{d} X$ ?
I was asked to compare three groups for their percentage structure. Let me explain - there is a categorical variable X with 3 levels: <100, 100-200, > 200 units. That's all I have and I have no access to the full numerical outcome. The three levels are summarized with N and %. I was asked to compare the % across 3 grou...
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...