instruction
stringlengths
9
38.7k
I am relatively new to statistics and need some help understanding some concepts relating to linear models and their assumptions. My question refers to one assumption, but I am using this as an example for other / all assumptions. Let's say we have data we want to perform a simple linear model on. We perform the model ...
I have a rather classical tabular data prediction problem and more or less successfully using XGBRegressor or LGBMRegressor both using MSE as their loss function. A slight deviation from the standard problem is that training data contains groups of rows (observations and target) belonging together (eras of data) and te...
All the articles I read, it is clear that, Label Encoding should be avoided for the ordinal data. But, in one of my ML tutorial video of Artificial Neural Network, the Gender column (having two values, male or female) is Label Encoded. I wonder this is a bad approach. Can I use label encoding for any column which is ha...
This is using MCMC (MH) algo to predict volatility from GARCH model: https://www.oreilly.com/library/view/machine-learning-for/9781492085249/ch04.html For simplication, consider (0,10)-GARCH (only consider vol) and a trained GARCH gives you a linear relation between variances (understand as Markov states?). I cannot th...
I have a small dataset with 5 points where x values are log(time) and y = obs. It is known that the behavior is an exponential increase for the first and second (x,y) values and then decreases linearly. The interpolant fit to the data points looks something like shown, but I want to create something like the red curve,...
for a uni project I am running an ordered logit regression on survey data, using the svyolr package in R. I am looking to report some sort of goodness of fit for the model but am struggling to find any easy to run tests that work with the svyolr package. Some sort of pseudo R squared (I am aware of the shortcomings but...
i've been encountering a lot prediction intervals in regression and time series analysis to evaluate uncertainty about predictions , i'm using it in my time series forecasts , and i wanna know exactly how to get benefit from it , to assess my model fit ,it'll be nice from you if you can provide some practical examples...
I have three random variables $X_1, X_2, X_3$ where $X_1$ is from distribution $F_1$. $X_2=X_3$ are from distribution $F_2$ and they happen to be identical. My question is what will be the order statistics for these three variables? I am aware of the Bapat-Beg Theorem, which deals with non-identical but independent dis...
I have two datasets in the US: Dataset A has 10 million observations of mortgage borrowers with individual features (income, FICO, loan amount, interest rate, etc). Dataset B has county-level environmental information (air pollution, water pollution, etc.). I matched A and B on county information. Now, I want to run ...
I have 7 different sensors of the same type that try to qualitatively estimate soil water content (SWC) based off of the capacitance of the soil/medium they're touching. However, I have read a few articles that use regression to map the voltage output of the sensor to the volumetric water content of the medium (VWC). T...
I am working on modeling the relationship between various biomedical variables (age, sex, diseases ...) and DNA methylation data. DNA methylation data consists of percentages of methylation at many genomic sites. The methods to measure DNA methylation suffer from a type of technical artifact which leads to overestimati...
If anyone could help me verify if my analogy is correct, thanks so much! Here is an analogy: A population is like a pot of soup. We stir the pot of soup with the ladle because naturally the contents of the soup can sink down or separate. This act of stirring is called Randomization. If we don't stir the soup, then when...
I'd like to know if my intuition is correct. We have data where each patient can essentially have one of three categories of treatment over a period of time: untreated class 1 treatment class 2 treatment It might not be ideal but we want to code treatment as 3 'proportion of time on treatment' variables. So, for exam...
I am working with a dataset with $n$ samples and $d$ features for each sample. I would like to be able to sample "nice" subsets of this dataset with specific properties. Assume that this dataset follows a PDF (which I obtain using KDE in the scikit-learn Python library). For the purpose of discussion, I say this datase...
I'm solving a problem for cs 229, problem description in below when i check the answer it mentioned the given equation, but I don't undertand why is that. I want to know why, anyone give me some sort of proof? $$\nabla_{\theta} \log p(y;\theta) = \frac{\nabla_{\theta}p(y;\theta)}{p(y;\theta)}$$
Covariate imbalance refers to an unequal distribution of independent variables (covariates) among different groups in a dataset. Is the above definition correct? So, would the following be an example for covariate imbalance? A study includes 12 individuals (neglecting that the sample is too small) to study how their ...
I am working with models that use Dirichlet distributions. However, I want to account for correlations between components. If this question is a duplicate, I'd also appreciate any pointers to the right direction. I have seen this question on "Distributions on the simplex with correlated components", but it didn't reall...
I am trying to simulate data based on two random effects and no fixed effects. The simulated data table contains nP projects and within each project nB Batches exists. Each Batch has nR replicates. Thus, I have a balanced design in the end. The random effect (i.e. standard deviation) over all Batches is sd_B. However, ...
Question: I have a random one-hot vector $B\in\{0,1\}^L$, where the position of the one entry follows $\text{Categorical}(\pi)$ where $\pi\in\mathbb{R}^L$. Given a constant (non-random) $L\times L$ matrix $M$ and a Gaussian vector $G\sim N(0_L,M)$, is it true that $$ \mathbb{E}\Big[ \mathbb{E}[B|MB+G]B^\top 1_L \Big] =...
Suppose we are testing a large number ($p$) hypothesis tests. Most commonly, a correction is applied to control the false discovery rate (FDR) at a low value, say $\alpha$. But now imagine a want to report the top 10 features with the largest test statistics, regardless of whether the corresponding p-values are signifi...
I am trying to understand how to explain the regression results using lrm() in r. Also, how to export the regression results in Excel.I have five classes of dependent variables. Please see below the results Look at scholarly articles lrm(formula = region_5 ~ relative_pt + relative_yt + relative_ur + relative_cp data =...
I am performing an A/B test analysis on two cohorts tests vs. control. I observed a positive lift of 1.5% (lift in new downloaders) between the test and control. The total audience in my A/B test was 25000, i.e.,(12500 in the test vs 12500 in control). Now I want to calculate the overall lift on my whole audience, whic...
I'm trying to identify how the cox proportional hazards model behave with different censoring proportions and sample sizes. (Censoring proportions = 20%, 50%, 70%). For that I need to simulate survival datasets having different censoring proportions using the simsurv package in R. I'm considering weibull distribution, ...
I am asked to conduct an exponential-weighted time series regression on original series $y$ and $x$ with look-back window $T$ and half life h. Denote the new series as $y^{*}$ and $x^{*}$ I am wondering what does the halflife refer to, conventionally? is it about the halflife of $y$ and $x$ $$\frac{y^{*}_{t}}{y^{*}_{t-...
According to the Wikipedia, the Bayes classifier assumes knowledge of the distributions of $X | Y$, where $X$ and $Y$ are the random variables of the features and the classes, respectively. Let's assume that one knows that these are normally distributed and decides to estimate the parameters of the normal distribution ...
I generally work with skewed and heavy-tailed lifetime distributions, so I need to check the goodness-of-fit of certain data to such distributions. After some exploration, I came to know that the AD test is preferable to the KS or CVM test in such cases as it can capture the deviations in the tail. But the AD test also...
I'm working on an unassessed course problem (paraphrased for brevity), Consider the time series model $$y_t=\alpha+\beta t+\epsilon_t$$ where $\epsilon_t$ is a white noise and $\alpha,\beta$ are known parameters. Show that $x_t=\nabla y_t$ is not invertible. The course notes have, Suppose $$y_t=h(B)\epsilon_t$$ wher...
Take e.g. an observational study sample where subjects have varying follow-up lengths. We want to compare two treatments, A (intervention treatment; n=100) & B (control treatment; n=500), and see if there is a difference in the occurence of event X during follow-up. Propensity-score matching is applied to create compar...
When participants arrived at the lab, I showed them curriculum vitae with different profile pictures and different types of university information. After viewing each curriculum, I asked participants to rate the competence of the person from 1 to 7. So I have a within-subjects design with a Likert scale dependent varia...
I have a simple confusion regarding the interpretation of logistic regression. Suppose married people are more likely to be employed compared to single people. In here, unemployment = 0, employment = 1. Similarly, married = 1 ,and single =0. Assuming odd ratio = 2. Can we say "Married people have 2 times higher odd of ...
I am trying to fit a linear mixed model for a randomised controlled trial where women are randomised to one of two treatments, but the outcomes are at the baby level. Most women will give birth to singletons, but there will be some twins (or higher), which will need to be accounted for. I am thinking of using a random ...
I was doing some project about multi state model, and I used the code below: library(survival) ck <- survcheck(Surv(estart, estop, to) ~ 1, data=mydata, id=id, istate=from) ck$events Then, the result came like below: I can't find the meaning of the last line. (the (any) part) Does anybody know about ...
In the official documentation for the python function scipy.optimize.curve_fit, the following description is given for a boolean-typed parameter absolute_sigma. If False (default), only the relative magnitudes of the sigma values matter. The returned parameter covariance matrix pcov is based on scaling sigma by a cons...
So I know that a connected Markov chain has a stationary distribution $\pi$ that satisfies $$\lim_{t \rightarrow \infty} a_t = \pi,$$ where $a_t$ is the average probability distribution at time $t$. So this average converges to our stationary distribution. However, does that mean that $\lim_{t \rightarrow \infty} p_t =...
I have data with incidence rates for each quarter between 2015 and 2022. I am supposed to model the association of the incidence rates with the general time trend(quarter 1-40 as numeric value) and seasonality (quarter 4 is the reference category and compared to q1-q3) using least square regression. However, for the ge...
I have a question regarding the logistic growth model. Can proportion values that have been converted into logit be mean-centered? When we calculate the actual difference value between two proportion values (0.8 and 0.6, which is the mean value of a certain variable), we get 0.2. However, when we first convert these tw...
I'm trying to ascertain whether a particular type of article, $T$, is associated with higher engagement scores in academic journals, and how substantial the effect size might be. I have raw data of engagement figures for every article published in one year period for 10 different journals. The first thing to note is th...
I have a dataset with attributes X, Y, W, and Z. X is the predictor, Y is the outcome, Z is the confounder and W is the mediator. I have defined 1 STL formula for each attribute denoted by f(X), f(Y), f(Z), and f(W). I have the following relationship between the satisfaction time of the formulas T(f(Z)) < T(f(X)) < T(f...
I would like to use a Cox regression model with time-varying covariates and time-varying exposure using a standardized inverse probability weight (IPW). My exposure can be continuous (exp_continuous) and categorical(exp_quartiles). Q1: For different types of exposures, should I estimate two IPWs and fit two Cox models ...
I am working on a model to analyze a categorical outcome variable (7 categories) for a design with two fixed factors (Condition and Group) as well as the random factors of Subject ID nested in Dyad ID. I know how to do this type of nesting in lmer, but I am unsure in MCMCglmm. I am using the MCMCglmm package and I have...
I have implemented a Thompson sampling algorithm with beta distribution that chooses between two processors to process the payments for each transaction such that it maximizes the success rate. For each transaction, there are only two available processors and for different transactions, these two processors can vary. ...
In a study investigating a time-to-event outcome in a propensity score matched sample, the authors state the following in their methods: "Where no evidence of difference between the compared groups was found, the minimum detectable effect at α = 0.05 and 1 − β = 0.80 was estimated with 200 simulations" How does such a ...
I am doing some regression analysis on a stratified sample where the stratification variable is the dependent variable. Do I need to adjust the regression or the results to account for the disproportionate subpopulations at all? In other words, I have a sample containing groups A and B where B is very rare in the popul...
I need to compare two groups of participants to each other in a model that contains fixed and random effects in R. It was suggested to me that a non-parametric test might be ideal for these comparisons. Here is the data: structure(list(item = c("'accordion_1'", "'accordion_3'", "'apple_01'", "'apple_03'", "'asian_01'"...
If I generate a sample that includes p1 and p2 drawn from a bivariate normal distribution. Then I generate a sample that includes n1 and n2 drawn from a different bivariate normal distribution. Then I generate a variable y=n1p1+n2p2+noise. Suppose that I do not observe p1 and p2. How do I estimate the variance covarian...
Context: I am considering here a variational Bayesian framework where I need to calculate the optimal variational distribution for some covariance parameters. Formally the model can be expressed as: $$P(W|X,\beta, \Sigma^{-1})P(\Sigma^{-1}|\lambda)$$ where $W$ is a matrix of outcomes of size $NJ$ where $N$ is the sampl...
I am currently attempting to optimize the dimension of the SOM grid, as well as the number of metaclusters for some flow cytometry data in R, using the well documented flowSOM package. From what I have seen so far, the dimension of the SOM grid as well as the number of metaclusters, two primordial parameters for the fl...
I have two binary variables (X1 and X2, coded 0/1) as predictors in a growth model in lavaan. I want to understand their individual contributions and their interactive influence on both intercept and slope. I believe there is no way for me to run the interaction in the lavaan model syntax, so I have created an interact...
I am trying to estimate the first order conditions from the following: p1,p2~N(mu1,mu2,sigma1,sigma2,sigma12) In addition, another variable total_cost=p1x1+p2x2+noise If I observe x1,x2, and tot_cost, how do I estimate sigma1,sigma2, and sigma12 using maximum likelihood? I hope to get the first order conditions.
Can I get standard error from a constrained optimization problem in R? I have calculated transition probabilities. Now I am trying to calibrate it. Using these transition probabilities I have simulated a distribution. When I compare the simulated distribution with real data, I found a significant difference. To tune th...
Imagine a treatment that, if it has an effect, is likely to affect two groups in opposite directions. As a concrete example, suppose I am testing the effect of a Republican politician endorsing a policy on a binary measure of support for that policy. The endorsement is likely to increase support among Republicans and d...
I currently have a set of data: 1 40950 2 27749 3 14786 ......... 15 95 16 75 .......... 12205 1 15344 1 19991 1 The first column is the "length", and the second column is the frequency of the "length" data. In other words, for length 1, it occurs 40950 in the dataset, and for extreme ...
I am trying to get my head around when and how to include Competing Exposures in DAGs. In my searching I keep finding statements that are very similar to the quote from the dagitty tutorials - "Including competing exposures in a regression model does not affect bias, but should improve precision." In my example below, ...
I tried two different normalization methods, generated the PCA plot above on the combined data, and colored the samples by the normalization type. Both normalization methods should give similar results for a standard dataset (proteomics). By looking at the plot, it looks like the overall shapes are the same. However, ...
I have survey results (n=14, small size, I know) which scored several health measures from Poor (1), Fair (2), Good (3), Very Good (4), and Excellent(5). I want to see if having a physician (0=no, 1=yes) and insurance (0=no, 1=yes) predicts the likelihood of someone reporting poorer or greater health scores. How would ...
I'm fairly new to machine learning, and I know similar questions have been asked but I can't find an answer that satisfies my curiosity. I'm working on a Random Forest Classifier model in python, and I am trying to use GridSearchCV to tune the hyperparameters. At first I ran the classifier class with default params and...
I'm working on a project which is using mixed effects model. There are different group of subjects given different treatment during 2 different periods. There are errors associated with subjects by time effects during the same period and also errors associated with subjects between 2 different periods. The error of sub...
Given an existing regression curve, how do I properly account for the known variance of the dependent variable when back-calculating for the (nominally) independent variable? If I had an observation $Y_{new}=1.09$ with a variance $\sigma_Y^2=0.012$ then how should I incorporate that information into my final answer for...
I am currently implementing Tree-Reweighted Belief Propagation (TRBP) to optimize edge appearances. The authors in the main manuscript of this work keep the edge appearances, represented by , fixed [1]. However, in their previous research, they introduce a tighter bound that allows the problem to be framed over all spa...
I am using scikit-learn to build two binary classification models--one is a random forest, and the other is a linear SVM. I want to compare the relative importances of the input features to the trained models. LinearSVC has an attribute "coef_" while the random forest classifier has an attribute "feature_importances_"....
The two-way ANOVA model with interaction for some continuous variable $y$ can be expressed as $$y = X\mu + \varepsilon,$$ where $X$ is the design matrix (the first column of $X$ contains the constant, the second and third columns the two main effects, and the fourth column the interaction of the two main effects), $\mu...
I had to normalize my data using this equation : $m ↦ (m - r_{min}) / (r_{max} - r_{min}) * (t_{max} - t_{min}) + t_{min}$ as seen here: scale a number between a range If I calculate the mean of these data and I want then to calculate the standard error, how do i do? Do I only take into account the multiplication/di...
Suppose I would like to do extractive question answering on scientific literature. I'm interested in using BERT which was pretrained on Wiki and Bookcorpus. I see two routes here: 1. Fine-tune BERT on scientific literature (specifically abstracts) using the masked language modeling task, then replacing the head and fin...
I want to ask some leads on how to quantify or propagate an epistemic type of uncertainty (e.g. statistical uncertainty) when performing a branch-and-bound (sort of fault tree analysis). The literature that I am currently looking at right now are the Markov Chain Monte Carlo Methods but I can not see any specific examp...
I tried to look up the answer but am confused by what this means exactly. It seems like one is a precursor to the other, thus you need both to conduct a study unless you're working with existing data. For example, qualitative data seems to be later be quantified in order to run any sort of analysis. Quantitative data n...
I am currently running a group invariance test with R, lavaan. My total sample is 794. The results came out as the attached photo. I understand that the chi-sq, CFI, and RMSEA all indicate that full invariance holds within the groups but it concerns me that the RMSEA value itself goes from "not optimal" to "bad". Is t...
Assume I have three events A, B, and C, and I know the following probabilities: Scenario 1: $P(A)$ and $P(B)$ $P(C|A)$ and $P(C|B)$ Scenario 2: I additionally know $P(C)$. I am looking for $P(C|A\cap B)$. I think it is clear that I cannot calculate this conditional probability in both scenarios because no informati...
I've got a dataset wherein only every third success in a series of n trials is observed. I had originally used the following Bayesian model: $$ y_i \sim \mathtt{floor}(z_i / 3) \\ z_i \sim B(n_i, p_z) \\ p_z \sim \text{Beta}(\alpha, \beta) $$ Where $y_i$ is the number of observed successes and $z_i$ is the latent count...
I want to fit a beta regression with an scaled continuous predictor, and express the slope in terms of proportion (not at the transformed, log-odds scale). In other words, I would like to express the change in the response variable (a proportion), when the predictor increases 1 standard deviation from the mean. I can g...
I would like to use a Cox regression model with time-varying covariates and time-varying exposure using a standardized inverse probability weight (IPW). My exposure can be continuous (exp_continuous) and categorical(exp_quartiles). For different types of exposures, should I estimate two IPWs and fit two Cox models with...
I am confused with how I could use ConvTranspose2D function as I'm not familiar with how it is actually working. What I understood is for a simple toy example of input size = (2x2), stride = 1, padding = 0, and kernel size = (4x4), and the output map size is 5x5, by multiplying each elements (scalars) to the kernel its...
I am new to statistical survey analysis and I'm using R. We have ran a pre-test with a very small sample (n=50). Our respondents were sorted into two treatment groups (T1 and T2 - basically treatment and control). We also had the respondents answer a Yes/No (coded 1,0) Question before treatment (Q1). We are interested ...
I have two different groups of devices with different failure rates: Group 1: 72 devices, 57 % did not fail during observation. Group 2: 11 devices, no device failed during observation. How could I determine whether these groups resp. their reliability, lifetime or the like is different from each other? My ad-hoc app...
I have two datasets where my independent variables (of which I have 6) are highly correlated. In one dataset I know for certain that the dependent variable should only depend on 1 independent variable (say x6). I want to test, using regression, whether the other dataset also only depends on 1 ind. variable or whether x...
I have a dataset of 18 continuous variables measured over 3 time points for 90 patients. I hypothesise that there are clusters of patients with similar characteristics and that cluster membership may change with time (a drug was given at t = 0). I have identified Latent Transition Analysis/Generalized Markov Models as ...
I know that a a "random slopes" model usually has both intercepts and slopes models varying randomly across groups. Was reading the classic example with sleepstudy data. I understood that when you using a random slope model, you creating a personal intercept and a personal slope for each subject. My predictor variable ...
I am trying to fit a GARCH(1,1) model using the rugarch package. When I use residuals to extract the residuals, I find the data is the same as the original data, and I am not sure what's wrong with my code. > spec_2 <- ugarchspec( + variance.model = list(garchOrder = c(1,1)), + mean.model = list(armaOrder = c(0,0),...
I have been asked the following question related to SVM (Hard Margin) in the exam, and I failed to answer it. Can anyone help me find the solution? Consider the dataset M: \begin{align*} & \left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}^T, 1\right), \\ & \left(\begin{bmatrix} 0 \\ -1 \end{bmatrix}^T, 1\right), \\ & \left(\b...
The story so far is that I am comparing the climate niche of wild native UK tree species, with the climate niche of commercial growers that grow that species in the UK. Using the species code 'agl' as an example, I've extracted the wild agl climate values and the commercial agl climate values for a number of points (11...
I'm working on an unassessed course problem, Consider a time series consisting of quarterly observations of temperature in a city. The seasonally differenced time series $\{x_t\}$ with $D=1$ is modelled with an $\text{ARMA}(1,1)$ process $$x_t=1+\frac{1}{3}x_{t-1}+\epsilon_t+\frac{1}{2}\epsilon_{t-1},$$ where $\epsilo...
I am confused about the derivation in Section 2.3.5 of Pattern Recognition and Machine Learning (Bishop, 2006). The Robbins-Monro algorithm (Eq. 2.129) to find a root $\theta^\star$ of the regression function $\mathbb E[z \mid \theta]$ is: $$ \theta^{(N)} = \theta^{(N - 1)} - a_{N - 1}z(\theta^{(N-1)}), $$ where $N$ i...
I have two 5-point Likert scales (Strongly Disagree to Strongly Agree) and I want to compare the results within one population sample. I expect participants to choose 'agree' or 'strongly agree' on both scales. My sample size is small and in my study, I have assumed that my data is not normal so I have utilised non-par...
I am running a large number (potentially hundreds of millions - billions) null hypothesis significance tests (specifically a Poisson test, but the question is general). I would like to apply to them a correction for multiple hypothesis tests (e.g. false discovery rate). Due to computational considerations, I am runnin...
My question is regarding the comparison between the CRB of a given vector parameter and RMSE/MSE obtained from Monte-Carlo (MC) simulation. The approach I used is this: For $\boldsymbol{\theta} \in \mathbb{R}^D$, the RMSE of the estimate is $$\text{RMSE} = \dfrac{1}{D} \: \sqrt{\dfrac{1}{N}\sum \lvert \lvert \widehat{\...
I'm new to statistics. I'm solving a problem where I'm given three sets of data, the measured sizes of the population of rabbits, the drug dose that's been given to each of them and the method of administering the drug (oral or IV). The problem literally states: Test whether adding the drug affects the size of the rabb...
I'm running a regression model to see if my dichotomous independent variable (family type) predicts my outcome variable (well-being). I'm including four mediator variables, as a parallel mediation. I'm using Hayes Process Macro Model 4 for this. But...the problem is that I know that two of my four mediators have a dire...
I'm trying to understand how the equations (respecting indices) and the variance and covariance matrices of some mixed models adjusted in R are expressed, which are initially expressed by the lme4 and nlme packages. The first model is a model of just one random effect on the intercept, this one doesn't seem difficult t...
I am a biginner for multiple imputation. Now trying pool all the results, but wondering how to do so. I need to make a table for number of patietns in each categories, percentage, and OR and 95%CI for it. I couldn't find any code in R, Do I have to do with rubin;s rule manually? Detail Building a prediction model with ...
I would like to know if there is any statistical explanation on why it would be a good idea to group some data into the following way: find the maximum ($\max$), minimum ($\min$), mean ($m$) and standard deviation ($sd$) of a sample; group the data into the following 4 subintervals: $(\min, m-sd)$, $(m-sd, m)$, $(m, ...
I am working with a longitudinal dataset exploring cognitive ageing (e.g., memory performance over time). Participants complete the study annually. Inclusion criteria for this study are 1) UK resident, 2) Aged 50 years or older, 3) no dementia diagnosis at baseline. The study is open to anyone meeting these criteria an...
I'm evaluating some settings for using graph convolutional networks for image classification. I'm using train/validation/test split of 64%/16%/20%, and adopting 5-fold cross-validation. That is, in each iteration of the cross-validation, I'm using one fold as the test set, and from the union of the remaining 4 folds, ...
ORIGINAL QUESTION What are the differences, or relationships, among "relative probability", "relative frequency", "probability density" and "probability"? A simple example would help to better understand the differences and relationships among those terms. As far as I understood, these terms are used to indicate/repr...
Suppose I have a data set that contains insurance claims $X$. Each claim also is assigned the calendar year during which the insured event happened. Now, I want to build a frequency/severity model but only for the extremely large claims, say $X \geq \mu$. Assuming a homogeneous poisson process for the frequency compone...
Clustering algorithms often use some affinity metrics to cluster a dataset. Given some data points $x_1, x_2, \ldots, x_n$, it is common to compare $x_i$ and $x_j$ using a function $f(x_i, x_j)$ which could be, for example, the norm of the difference between these two points or a Gaussian kernel. My question is rather ...
I am working on a multilabel text classification problem. The text data is called 'cleaned_text' and has shape (92259, 1) and the one-hot encoded label data is called 'labels' and has shape (92259, 32). The text is consists of the text from MathOverflow questions and answers with latex and stopwords removed. The labe...
I conducted a Spearman's correlation to determine if there was a relationship between emotional clarity and cognitive empathy. I found that they were positively associated, but the relationship was not significant. I then controlled for depression in a partial correlation, since I expected that less clarity = depressio...
I am reading the paper Athey & Imbens (2016) paper "Recursive partitioning for heterogeneous causal effects" from PNAS. I am not able to fully understand which criteria is used to construct (train) the causal tree. I have read this post How does a causal tree optimize for heterogenous treatment effects? but I still don...
background Some algorithms are linear in operations, so the number of operations to complete is $O \left(N\right)$, while others are quadratic $O\left(N^2\right)$, cubic $O \left(N^3\right)$, or non-integer $O \left(N\cdot log N \right)$. Sample entropy has been around for a while (link) but I can't seem to find a clea...
I am extremely new to statistics so pardon me if this question is really easy to answer. I am trying to analyze two time series that should be physically related (wind speed and temperature). Since both time series are cyclic, I figured that a linear correlation technique like Pearson would not work and instead somethi...
Question: Is it "quantitatively sound" to decompose/upsample year-bins (e.g., 2002-2006) into the component years when analyzing Likert Score data that was collected as a recollection of conditions within the year-bin? Background: A series of interviews were conducted asking to Likert Score (1-5) the condition of locat...