instruction
stringlengths
9
38.7k
I have observation data covering a certain period of time. I follow a block-maxima approach where the data are segmented into equal time intervals .My goal is to first develop a Bayesian Hierarchical model. Secondly, running the same model structure for different time intervals. For my type of data and the type of rela...
My question is about proving the Lyapunov CLT (every mean is $0$, $\delta = 1$). It is similar to this question but without any assumption about the random variables following Bernoulli distributions. The idea is to use Taylor's expansion: $\psi_{X_1}(t) = 1 - \frac{1}{2}\mathbb{E}X_1^2t^2 - \frac{i}{6}\mathbb{E}X_1^3t...
I am trying to test whether Covid-19 impacts the income of companies. For 10 companies, I have the income values for both December 2019 (before COVID) and March 2020 (During COVID). I also have the size of the companies for these two dates. I have already run a paired sample t-test. Now, I want to check whether size mo...
I have computed a (online) sample size calculation for mean difference between two groups. The calculation was done with the following data from literature: The website used for the sample size calculation is: Sample Size Calculator (https://clincalc.com/stats/samplesize.aspx). This gave the following calculation with...
For those unfamiliar, Doc2Vec is referred to as a 'simple' neural network with one hidden layer that is built very similar to word2vec. As I understand it (in dbow, the implementation I am using), the document id is used to predict the words in a given context window from that document. https://en.wikipedia.org/wiki/Wo...
I'm trying to find the dual function of this function (non-overlapping Group Lasso's penalty function): $$ \mathfrak{h}: \mathbb{R}^p \to [0,\infty], \ a \mapsto \sum_{j=1}^{k} \left\| a_{\mathscr{A}_j} \right\|_{2}$$ where $\mathscr{A_1},\dots, \mathscr{A_k}$ are disjoint partitions of $\left\{ 1,\dots,p \right\}$, th...
I am working on a Fay-Herriot model in a small area estimation problem \begin{equation} y_d = X_d \beta + u_d + e_d \end{equation} where $y_d$ is a direct estimator of a certain parameter $\theta_d$, referred to a certain small area / cluster $d$, $d=1, \ldots, D$; $e_d \sim N(0, \psi_d)$, where $\psi_d$, the sampling...
The output here shows the titles and descriptions of the comments written for the evaluation of the top 100 books in amazon with nltk vader, and the total reviewer rating for those analyzes, but there is an imbalance between reviewer rating how can I statistically make sense of the data here 1: https://i.stack.imgur.co...
I'm reading "ASYMPTOTIC NORMALITY OF MAXIMUM LIKELIHOOD AND ITS VARIATIONAL APPROXIMATION FOR STOCHASTIC BLOCKMODELS" Bickel et al. 2013. In their proof of Lemma 3, they claim a result and I can't find a justification for it. $f(A,Z;\theta)$ is the density function of an exponential family member. We assume that $(A,Z)...
This question stems from Section 2.1 of this VAE tutorial. The problem stated in the paper is to compute the data likelihood using law of total probability: $$ P(X) = \int P(X,z) \,\mathrm dz = \int P(X \mid z;\theta) P(z) \,\mathrm d z\,. $$ Paragraph quoted here: For most $z$, $P(x \mid z)$ will be nearly zero ... T...
What is meant by this notation regarding gradient boosting source: $$ g_i = \partial_{\hat{y}_i^{(t-1)}} l(y_i, \hat{y}_i^{(t-1)}) $$ Is it the partial derivative of $l$ w.r.t. $\hat{y}_i^{(t-1)}$ , i.e.: $$ g_i = \frac{\partial}{\partial \hat{y}_i^{(t-1)}} l(y_i, \hat{y}_i^{(t-1)}) $$
I was studying Linear Discriminant Analysis, and this general case came up which used Bayes theorem. Suppose we observed response values of $Y \in \{0,1\}$ and predictors $X \in \mathbb{R}$. Suppose we didn't know their underlying distributions, but we generated them as $X|Y=0 \sim Unif(0,0.5)$ and $X|Y=1 \sim Unif(1,1...
I have the dataset with the following situation. My dependent variable (Y) is decimal and has non-parametric distribution (shapiro test p-value<0.05) and the current variable has a determinated value with high frequency (score > 3.91 = 938, score <3.91 = 120) . I would like to perform multiple regression model to ident...
I am currently researching fish survival analysis. The weight and number of live fish were observed until the end of the rearing period, and the number, weight, and timing of dead fish during the rearing period were observed. Accordingly, I wanted to create a fish survival model using the weight of the fish as a covari...
I am running a k-means cluster analysis of textual data (k = 750) and the following is the plot of the silhouette score by cluster I am trying to decide optimal k and I'm wondering how one would interpret this ... I am unsure as to why it is so jagged? because it is continually increasing (aside from the start, where ...
Consider a random variable $r_t$ which represents the return of an asset at time t. In the univariate case, we just consider $r_t$ to be the return of a single security at time t. Generally, we assume $\mathbb{E}(r_t)=0$ for high frequency returns over a short time period (~1 day). Thus, we can 'standardize' this and d...
I am trying to implement a Brain-Computer Interface system that should be able to differentiate between rest and movement trials. I am using motor-related cortical potentials for movement detection. The method I am using is cross-session transfer learning via Riemannian Alignment on EEG data as described in Transfer L...
In previous threads , parametric bootstrapping was suggested as a method to test for differences between time series at specific time points. I have followed the methods as described in this answer (see below for more specifics), however I am not sure which test to run after obtaining the parametric bootstrap samples ...
When considering a chain of states from 0 to N in continuous time with constant up and down going transition rates, the jumping or waiting times are exponentially distributed. Now consider the following time dependent up rate and constant down rate, $f_+(t)=α(1−e^{−βt})$ $f_−(t)=α.$ What is the best course of action to...
In an assignment of time series analysis, I am asked to compare an intercept-only model with a slope model. I understand that the intercept-only model is just a regression model that only includes the constant term. But how about the slope model? I appreciate it if anyone could explain what a slope model refers to.
I'm doing a course in biostatistics and I came across this question to solve: "Consider a two-year follow-up study of the association between a measure of stress (dichotomised into two levels: high and low) and high blood pressure (D, dichotomised into two levels: normal and high). In the study, participants were treat...
I am working with a large panel dataset studying many companies over a long period of time. Some of these companies receive a negative outlook from an analyst during the sample period. Similarly, some of the companies receive a positive outlook from an analyst throughout the sample period. Many other companies do not r...
When I prepare probabilistic forecasts I am often left with a choice of what percentage highest-density region to choose for prediction intervals for clients. This matters for reporting uncertainty to the clients, but I think for many of them it is a difficult abstraction. I feel like the elicitation should contain the...
I have found a Python function that calculates the decomposition of various proper scoring rule, such as Brier score and log loss. However, it does not seem to accept arrays as arguments, so if I want to work with this function, I seem to be limited to binary outcomes... ...but I want to know about more than two catego...
My data set contains information regarding the number of road accidents separated by gender, age, area, and other factors. Can I perform logistic regression analysis using this dataset to predict how likely it is for a person to crash given certain characteristics? I guess my confusion is because I do not have data sur...
R has lots of support for Finite Mixture Models, as well as specialized packages for more specific Mixture Models for approaches such as Latent Class Mixed Models (lcmm package) and Growth Mixture Models (flexmix package)-- which I believe are effectively the same modeling approach. https://osf.io/preprints/psyarxiv/m5...
The organization I work for has collected data from individuals in multiple waves. Their goal was to collect 333 individuals in 6 different groups (genderXgroup). If the first Wave did not reach 333 individuals per group, they planned to collect additional data in a second Wave that utilized the same sampling design ...
Hello I am learning how to decide whether a variable is a moderator or a mediator in R. For my knowledge, if the interaction term is not statistically significant, we need to consider the mediating effect of this variable. Or do I need to perform the mediation and moderation analysis at the same time and then make a de...
I'm just now being introduced to likelihood-ratio tests (LRT), and I am having trouble following the concept and terminology. For example, I posed a question about determining whether two samples {x} and {y} came from the same probability distribution, meaning that the distribution's parameter on the two variables samp...
I'm currently running some experiments in web. The main idea is to validate the impact in some conversion metrics. The typical funnel we have is: Traffic -> Signup -> some Activation event. Our metric of interest is the CVR of some Activation Event. Let's assume a: Traffic -> Event CVR = 1% Signup -> Event CVR = 25% Th...
I’m a Google Data Analysis Certificate student, at my capstone project now. I’m switching from a non-data background and I’m aware there’re vast amounts of what I yet need to learn. Therefore in addition to direct answers I would appreciate some must-reads on the topic. Thank you all in advance. Context I’m asked to fi...
I am running logistic regression on sas. My outcome var is if student retained or not. One of my independent variable, if they attended first year oritentation is showing opposite result than what is should be. Here is 2 by 2 table. upper columns indicate if they attended orientaion(1) or not attended(0). row columns i...
I am working through "Variational Inference: A Review for Statisticians" by Blei et al. (see https://arxiv.org/abs/1601.00670) and they illustrate Variational Inference using a Bayesian mixture of Gaussians. However, I am lost when it comes to computing the expectations in the evidence lower bound (ELBO) which are supp...
Suppose I have run a multiple regression model: Y = B0 + x1B1 + x2B2 +..+ xnBn, weighted by w, from a dataset with such covariates and the weight variable of size N. Say there is another column in the data, categorical (a, b or c) and not fitted as a covariate but such that the N observations can be distinguished into ...
The three major criteria for the quality of a measurement instrument are validity, reliability, and responsiveness. I understand validity and reliability, but I have trouble understanding the need to distinguish responsiveness. As quoted in https://doi.org/10.1016/j.jclinepi.2021.06.002, responsiveness "refers to the a...
ROC curve and the area under it (AUC) are routinely used to evaluate the performance of binary classifiers. However, it seems that both, the shape of the curve and the area, depend on the parameter adjusted. Indeed, for an infinite sample, ROC curve is essentially the plot of probability of correctly classifying positi...
I would like to find out if my dependent variable Y which is a measure of the similarity of two shapes to each other and has no normal distribution, is dependent on factors A, B and C. To do this, 4 people outlined 50 shapes based on 50 different images 6 times each. Hence, I obtained 300 shapes from one person. Each o...
For example: YOLOv8 segmentation doesn't output any mask for concrete class if no masks was detected, but there is a mask for this class in the ground truth masks. I should set metric to zero for such pairs?
I have four completely different sets of two samples and want to check for each set if both samples come from the same distribution, so four Kolmogorov-Smirnov tests total. If it's going to be relevant, two sets of distributions look normal, two are skewed. The critical values table for this test gives alpha significan...
Just on principle, do you think it would make sense to make linear regression models for each individual in a study and treat replicates as data points? I don't mean reporting p-values or anything like that, just for visualization purposes. Specifically, it'd be a comparison of subjects exposed to treatments, say treat...
I am studying the following paper: https://jamanetwork.com/journals/jama/fullarticle/2698491 This is a cluster randomised control trial with crossover. I want to ensure they have not made a unit of analysis error which may inflate their effect size and artifically reduce their p value. I don't feel confident to judge t...
Suppose that we simulate random $n\times n$ correlation matrices by assigning iid $U(-1,1)$ random variables to all off-diagonal entries and accept matrices $\boldsymbol\Sigma$ that are positive definite. The marginal distributions of each correlation coefficient are then obviously no longer uniform. Based on simulati...
I am conducting a study involving 70 participants diagnosed with Mild Cognitive Impairment (MCI) and 75 without MCI. All participants were engaged in taxonomic semantic, thematic semantic, and phonemic fluency tasks, where they were asked to articulate as many words as possible related to the categories ‘animals’, ‘sup...
I have a very large dataset (500,000 examples, 3000 features with a lot of missing values). I want to run a random forest algorithm for feature selection with sklearn. Unfortunately, I cannot load the entire dataset. Is it possible to run random forest over chunks of the dataset? What other options do I have? Thanks in...
Consider $X_1, \cdots, X_n$ which are iid and have common pdf $f(x | \theta) = e^{-x+\theta}$ $(x > \theta)$. Why is $$\frac{f(x|\theta)}{f(y|\theta)} = \exp \left\{{\sum_{i=1}^{n} (y_i-x_i)}\right\} \cdot \frac{I_{(0,\infty)} \mathbf{x}_{(1)}}{I_{(0,\infty)} \mathbf{y}_{(1)}}$$ where $\mathbf{x}_{(1)} = \min x_i$? Can...
I am analyzing a dataset of cardiac echocardiographic exams, aiming to compare the diagnostic accuracy of a novel test in comparison to a standard one. I have recognized that using Stata I can generate using the very same set of data (thus including 2 binary variables) a standard receiver-operating characteristic curve...
I'm looking for some guidance on which type of t-test is most suitable to use for my data. I want to compare the means of the variable 'Rate' between two groups in my data. I have 6 years of data and I want to split them into two periods and then compare the means of the two periods. Each year has a different sample si...
I am trying to analyse some data in R that has one continuous dependent variable (x) and two categorical variables (sex: M/F, surface: D/V). My main goal is to understand if sex and surface affect 'x'. Biologically, I am interested in whether male dorsal surfaces have more 'x' than male ventral (similar for females) a...
My boss wants us to run a simple experiment where we manipulate the search results on our website. He is insisting that we must have counterfactuals for the results to be valid. The way I see counterfactuals is as a way to improve statistical power and more rigorously evaluate causality, so I'm not sure why the absence...
I was looking replicate the results of the paper DOI:10.3905/jpm.2014.40.3.087 (Exploring Macroeconomic Sensitivities: How Investments Respond to Different Economic Environments, Ilmanen Maloney Ross 2014 Journal of Portfolio Management). For example, I was looking to investigate if the monthly total return of US Treas...
I am reading this paper which discusses the factors that affect the uncertainty (variance) in the performance estimation of a learner. The authors say (p. 2, "The monotonicity of the learning curve of a learner"): The true performance of the Tree Model will be varying around the point on the curve on the 90% x axis po...
Is there a good method or test to find categorical variables associated with modes of a continuous variable? Take the velocity of a car as an example. You would expect there to be at least two modes in the data (one for reverse and one for forward), but you could have more (park, 1st gear, 2nd gear, etc.). Let's say we...
I am new to the field of survival analysis and looking for recommendations on how to deal with the following scenario: I have data on patients suffering from a certain disease. Some patients receive the treatment immediately, others after some time, and others never. The longer a patient suffers from the disease, the l...
Say that we have a GLM model with the following formula: outcome = b1x1 + b2x2 + b0 and outcome is cost, x1, x2 are independent variables Fitted using log link with gaussian distribution, so log normal. We would then have ratios of cost because we fitted it using log link function. Would it be sensible to use that rati...
In the post [here], the user asked the question $\{X_i\}_1^n$ is random sample from $N(\mu, \sigma^2)$ with unknown parameters. Find an unbiased estimator of $\sigma^4$. The solution uses a property of Normal Distribution, that of the fourth central moment is proportional to $\sigma^4$ $$\operatorname{E}[{(X-\mu)}^4]...
I want to measure the the change in the relationship between one of my independent variables (gold price) and my dependent (conflict deaths) for my treatment post group. Any help would be greatly appreciated. My hypothesis is that in the treat-post group, the correlation coefficient between gold price and conflict is w...
I have a database composed of n = 1000 observations of a variable to explain (y), an explanatory variable (x). The observations are grouped according to a variable "group", and I have only few observations per "group" (around 2), while the number of different "groups" is high. I fitted a linear mixed model (with R lmer...
Background I'm validating a model and as part of the process I've been calculating SHAP values for different validation datasets. I've calculated SHAP values for every sample in each dataset taken their absolute values, summed, and normalised them. This allows me to see their aggregate contribution to the model predict...
The data are from an international study comparing participants' perceptions of how much more corporate CEOs make compared to unskilled workers (median ratios are used because mean ratios did not pass normality tests). For example, participants in Russia (N = 1200) estimated that CEOs make 33.4 times as much as workers...
NB: this is not about power analysis. Consider the following table, which has the following row-wise proportions: cat_1 cat_2 cat_3 cat_4 cat_5 cat_6 cat_7 A 0.3222449 0.302041 0.208163 0.089796 0.044898 0.028571 0.004082 B 0.111468 0.115756 0.118435 0.143623 0.182208 0.155413 0.173098 We know that: the...
I have dataframe df. df <- structure(list(t = c("T1", "T1", "T1", "T1", "T1", "T1", "T1", "T1", "T1", "T1", "T2", "T2", "T2", "T2", "T2", "T2", "T2", "T2", "T2", "T2", "T3", "T3", "T3", "T3", "T3", "T3", "T3", "T3", "T3", "T3", "T4", "T4", "T4", "T4", "T4", "T4", "T4", "T4", "T4", "T4" ), n = c(10L, 10L, 10L, 10L, 1...
Question Let $Z_i\sim\chi_{(1)}^2$ be i.i.d. chi-squared random variables with 1 degree of freedom. We define: $$ W_{\infty} = \sum_{k = 1}^{\infty} \frac{Z_k}{2^{k}} $$ I have interest in computing the distribution of this random variable and more specifically the probability $P(W_{\infty} > 1$). References This probl...
I have two questions regarding modeling a 3-level multilevel model in R. I have a dataset of different variables that were assessed 4x as part of a longitudinal study. At each of the four assessments that were 1 month apart, participants filled out questionnaires (= one mean score per participant per assessment) and us...
I trained model using YOLOv4 on GPU, CUDNN and openCV (python) with AlexeyAB\Darknet with multi-label on windows environment. These labels are 25 classes (from 0 to 24). Then I test the model and I got this report as shown . I confused about the numbers that colored in yellow, blue and red that appear in the report (de...
I’m running the following regression model, where MR is a continuous predictor and grade, gender, and race are all categorical. DV~MR + grade + gender + race I’m also interested in how the 3 categorical predictors might moderate the effect of MR on the outcome measure. I'm not interested in how grade, gender, or race i...
I understand that the mutual information between two vectors X, Y from two distributions gives a measure of uncertainty of X knowing information about Y. But is it possible to measure mutual information between a vector X and its mean E(X)? Is there a way to do it using R?
This is almost certainly a fatal misunderstanding of mine / knowledge gap but I am confused as to how to interpret the population parameters of a Bayesian Hierarchical model. This is incredibly artificial but to demonstrate the point let's say we wanted to fit the following model + priors: $$ \begin{align} X_{ij} &\sim...
I am wondering how this paper Bayesian Regression Tree Ensembles that Adapt to Smoothness and Sparsity by Linero & Yang (2018) derived the acceptance probability for $\sigma$. The authors give $\sigma$ a half Cauchy prior, $\sigma \sim \operatorname{Cauchy}_{+}(0, \widehat{\sigma}_{\text {lasso }})$. To update $\sigma$...
I have longitudinal data from a two-group RCT in which the primary outcome was assessed at baseline, each week during the intervention, post-test and 5-month follow-up (6 times total). I am modeling the data in R (lme4) as a piecewise mixed effects model with T1 - T5 (post-test) change modeled as a random slope (first ...
I'm confused about the matrix notation of the loss function in ordinary least squares regression. In matrix form, the expression for a linear model is: $$\hat{y} = Xw$$ Where $\hat{y} \rightarrow$ prediction vector for feature matrix $X$ $X \rightarrow$ feature matrix with each feature as a column and each row as an ...
I am trying to know what is the most simple model for time series data, with exogenous variables. What is the most simple framework I can use ? Is it possible to build a model more simple than ARIMAX, ECM, VARX or ARDL, and, specifically, a model without any AR or MA component ? I imagine something just as simple as : ...
I am completing a meta-analysis of the sex differences in athlete ECGs. I have included studies that only talk about one sex to broaden the amount of data included. Is there a way to meta-analyse female vs male data when not all the studies have female and male participants? There are both continuous and dichotomous va...
We want to know whether two sample sets {x} and {y} were drawn from the same distribution. The null hypothesis $H_0$ is that they are. As statisticians we test the hypothesis by calculating the p-value: the probability of observing those sample data if the null hypothesis is correct. As statisticians with computers w...
Below is the output of a glmer: Generalized linear mixed model fit by maximum likelihood (Laplace Approximation) ['glmerMod'] Family: Gamma ( log ) Formula: FrameDelay ~ Group + Session + Group:Session + cs.Age + cs.Years + Group:cs.Years + (1 | PID) Data: ufov AIC BIC logLik deviance df.res...
I have the following data: ## # A tibble: 525 × 8 ## Subject Group Type ISI Label MeanEMG MeanRRA MeanRRA2 ## <fct> <fct> <fct> <dbl> <fct> <dbl> <dbl> <dbl> ## 1 17 HC BL 0 HC BL 41.4 1 1.28 ## 2 17 HC BL 4 HC BL 67.8 1.64 2.09 ## 3 17 ...
If we work on groundwater data, if the data is not normally distributed, can we apply geostatistics on this data without transforming it to normal distribution?
According to [1] : The determinant of the correlation matrix will equal 1.0 only if all correlations equal 0, otherwise the determinant will be less than 1 [...] When the measures are uncorrelated, this space is a sphere with a volume of 1. When the measures are correlated, the space occupied becomes an ellipsoid whos...
Consider a ride hailing service, where the fare needs to be dynamically adjusted. I know there are many machine learning driven models possible, but here I am looking for a simpler and sensible mathematical formula. The fare itself is modelled by a surge factor $s$, with which the actual fare varies as a monotonically ...
According to Wiki: In statistics, the number of degrees of freedom is the number of values in the final calculation of a statistic that are free to vary.[1] Estimates of statistical parameters can be based upon different amounts of information or data. The number of independent pieces of information that go into the es...
I'm using the Australian Census data to find similar towns based on their age demographics. Some locations show a large young population, some more working age, some older with a greater number of retirees. My question is there a common approach to analysing just this age data to find similar places? My approach so far...
My current background is as follows: (core subjects only) Math : Linear Algebra, Analysis, (half of) Measure TheoryStats : Mathematical Statistics, Regression Analysis, Multivariate Analysis "half of Measure Theory" means I've covered upto the ch.4 (Intro. to Hilbert Space) of Stein's Real Analysis. My advisor recom...
Kamanzi-wa-Binyavanga, 2009, wrote the following paper, Calculating Cumulants of a Taylor Expansion of a Multivariate Function: What I am confused about, is how precise the notation. I understand that we take each partial derivative with respect to some point ($r,s,t$ here) between $1$ and $p$, which might be the numb...
I'm currently exploring the application of Principal Component Analysis (PCA) to time-series data representing various "facial emotional expression" states (e.g., anger, happiness, sadness, etc.). My goal is to simplify the complex, multi-dimensional "facial emotional expression" data for better visualization and initi...
I am looking for the most suitable statistical test for the following situation: I am in a multi-reader multi-case (MRMC) scenario where 6 readers will perform binary classification on the same 165 samples. There are 2 reading phases in the study: phase 1 where the readers are on their own to annotate and phase 2 where...
I have recently been asked to check the sphericity of my data to confirm it meets the assumptions of the linear mixed models I have generated (using lmerTest in R). I have read conflicting information about whether sphericity is indeed an assumption of LMMs. (1) Is sphericity an assumption of LMMs, and (2) if so, how c...
In the context of estimating parameters for a uniquely distributed set of independent and identically distributed random variables, I am examining the following probability density function $ f(x|\theta) = \frac{3\theta^3}{x^4} \mathbf{1}_{[\theta,\infty)}(x) $ with $ \theta > 0 $. (a) For the estimation, I am tasked t...
After searching, reading posts, and trying to solve this issue myself for several days, I think it's time to ask for help. I'm performing a Hierarchical Clustering analysis on a dataset, that includes hundreds of samples and thousands of variables. Once I got the optimal number of clusters, graphical representations, a...
In the page 120 in "Causation, Prediction, and Search", why the edge B-D will not be removed if the edge E-D is mistakenly removed from the initial complete graph. I think B-D is D-connected given C since C is a collider in the path B-C-E-D.
For a large sample of size 1296, we are looking at independent and identically distributed random variables defined by the piecewise probability density function $f(x) = \frac{1}{3} (I_{(0,1)}(x) + I_{(3,5)}(x))$ (a) I am trying to find the cumulative distribution function (CDF) of $ Y = |X_1 - 2| $. My approach has be...
I am trying to predict ambulance demand for the next hour, for a city area in the USA, based on previous demand, weather, large people gatherings, and similar spatio-temporal factors. I have noticed some points where the features are 'usual' - e.g. a "sunny peaceful Sunday afternoon", but there is unusually high demand...
I am testing a set of regression algorithms and I'm having troubles with GPR. I have a set of 60 observations x 101 variables as a predictor (X) versus a set of 60 observations x 1 variable as a response (y). Given that the 101 elements of X represent multiple wavelengths of an hyperspectral dataset, I apply PCA to red...
Say I have a neural network, where I put a Gaussian prior over the parameters $\theta_i \sim N(\mu_i, \sigma_i^2)$ and that I learn both $\mu$ and $\sigma$ via the reparameterization trick $f = \mu + \epsilon \cdot \sigma$ After training, I'll have for each weight its corresponding $\mu, \sigma$ My question is, can I c...
This is a question about the convergence in probability and boundness in probability. Suppose $X_i \overset{\textrm{i.i.d.}}{\sim} (\mu, \sigma^2 )$ for $i=1,2, \cdots, n$. Denote $\overline{X}$ and $\hat{{\sigma^{2}}}$ as the sample mean and the sample variance respectively. Then prove the following holds for every $x...
Imagine we have sample of values a_1, a_2,...a_n, with a_i value originating from a normal distribution with mean mu_i_a and variance var_i_a, thus each value is single realization of different random variable. Then we have another sample of values b_1,..b_n, with value b_i originating from a normal distribution with m...
I am using k-modes for clustering unlabeled categorical data. Since the data is not labeled, I fear that my knowledge of suitable valuation indices is limited. So far I have used silhouette score with a precomputed matrix of Ng's dissimilarity measure as presented in: Ng, M. K., Li, M. J., Huang, J. Z., & He, Z. (2007)...
I have conducted an experiment for my Biology Internal Assessment in the IB Diploma Course where I grew Phaseolus coccineus beans for 14 days. This is the overview of my experiment: Independent Variable: Concentration of caffeine (trimethylxanthine) in aquatic solutions of coffee grounds (Coffea arabica) and caffeine i...
I have a dataset which contains information on the average crime rate, population, average gas price and number of tesla charging stations - for different cities over different years. This is a repeated measures data. These cities belong to 5 different EU countries (ex: UK, Belgium, France, etc.). Data is aggregated at...
Given a waiting room, filled with $N / 2$ couples ($N$ an even number: the total number of people present in the waiting room), a doctor calls $n$ individuals from the waiting room at random. What is the probability of $K (0 \le K \le min(N/2,n/2))$ couples being among the group called? Inversely, what is the probabil...
I have conducted a zero-one inflated beta (ZOIB) regression using a logit link function for explaining tenure incidence in colleges and universities. Tenure incidence is a proportion in the interval [0,1]. I have 12 explanatory variables in my model. This is the part of the STATA report for the regression correspond...
I have two non-parametric distributions, A and B, and I would like to determine if they are significantly different (say, by the p-value of a U-test). Normally, I would sample $n=1000$ from distribution A to form a dataset A, and similarly sample $n=1000$ from distribution B to form a dataset B. Then, I apply the U-tes...