instruction stringlengths 9 38.7k |
|---|
If we assume we have a stochastic process $X_t$ for which we have,
$$\mathbb{E}[X_t] = \mu(t) $$
$$\operatorname{Cov}(X_t,X_s) = \gamma(s,t) $$
where the dependence of the functions on $s,t$ are non-trivial.
Is it now impossible to perform any statistical inference, or machine learning on this process, because some of... |
Background
I have a dataset, each record in this set is represented by 2 different sets of features. Let's say feature set A and feature set B.
I have trained classifiers using feature set A and feature set B respectively, and feature A outperformed. Now I would like to ensemble these classifiers to see if it is possib... |
I recently conducted some MASS SPEC for my samples. Each sample was run thrice through the machine. However, there was a large space of time between the first run and the consequent second and third run (both run at the same time), so I would like to conduct a batch effect. My data set looks something like this:
Sample... |
I want to analyze latent components of data that has values between zero and one (including zero and one).
In detail, the data structure is n x m and I'm looking to find the r underlying components.
So far I was considering a non-negative matrix factorization (NMF) (or a non-negative tensor factorization as the data i... |
Given that AUC is a threshold independent measure, can undersampling or oversampling of the majority/minority class during training improve the performance of a binary classifier?
In my experience balancing the classes has the same effect as changing the threshold when making predictions. I believe that you can achieve... |
I am reading Propensity Score Analysis(2014) by Guo and Fraser chapter 1 section 4. Denote $\Delta_X$ normalizing difference score of covariate $X$.
"Following Imbens and Wooldridge, a $\Delta_X$ exceeding .25 is an indication that selection bias exists and linear regression method tend to be sensitive to model specifi... |
In Bishops book, "Statistical Pattern Recognition", in Chapter 8 about Graphical models he introduces the following 3-node graph:
The goal is to investigate the independence properties of node $a$ and $b$. The joint distribution is simply:
$p(a,b,c) = p(a) p(c|a) p(b|c)$
Further, he investigates the case, that no va... |
I am attempting to train a transformer which can categorize sentences into one of n categories. This model should be able to work with a number of different languages - English and Arabic in my case.
Do I need to have labelled training data in both English and Arabic to fine tune a pretrained transformer, such as BLOOM... |
I'm working on a multi-label classification problem where I want to classify text into 20 categories, and each text may belong to one or multiple categories. Each category is a binary value of 0 or 1, and is highly imbalanced, i.e. the vast majority are 0 and only small portion are 1. I read about Hamming Loss as a com... |
i am creating an index using stata consisting of 11 indicators. i want to assign weights to these indicators using PCA. i have checked correlation of the indicators and then ran the pca and performed rotation of the factors. however i am unsure as to how to calculate the final weights. i am new to this, and any help wo... |
There are $n$ piles each containing $a_i$ stones. In a sequence of moves, Alex chooses two neighbouring piles randomly (containing, say, $A$ and $B$ stones) and combines them to create a single pile with $A + B$ stones at the same place. Such a move also yields him $A + B$ points. He does this repeatedly until there... |
The question is the same as posed in the title; is there an alternative to PCA that doesn't rely on the linear assumption but maintains distances (i.e. the main issue with UMAP/tSNE)?
Thanks!
|
Disclaimer: this is not homework, just preparation for an exam I'll be taking
How do I incorporate an offset term into a software library that performs least squares (without offset)?
Let me give a simple example which I'd like for the answerer to base their answer on:
Consider a dataset $(x_1,y_1),...,(x_m,y_m)\in R ... |
I am trying to fit the power law distribution to continuous sample (x) which has a sample size n = 360
I'm using the methodology proposed by Aaron Clauset in the python package
power-law: A Python Package for Analysis of Heavy-Tailed Distributions
My steps for power-law distribution are as follows:
I fix the lower bou... |
It's stated on many online resources that Martingale plots can be used to assess linearity in a Cox model and there are abundant explanations about what constitutes being nonlinear in a plot, but I feel like advice on the appropriate subsequent action to take is lacking.
It's often described that squared terms, exponen... |
Today I dont want to go deep in the math but mostly be sure I understand the correct methodology.
My goal is to predict sales in 50 different stores. For each store I know the number of products sold by categories (e.g of category: grocery, book, clothes...). I have got additional information like holiday day, weather ... |
Following this example, I am fitting a glm model with rstanarm to count data that look like this:
The simple specification below runs just fine:
stan_glm(outcome_count ~ 1 + scaled_input + binary_predictor
, family = neg_binomial_2(link = "log")
, data = input_data)
But it yields fitted values... |
I'm comparing three groups: people that have had two infections, people that have had one infection and people that have had zero infections.
I'm showing them on a boxplot (regarding age for example) and I'm doing 3 independent two sample t-tests (group 0 vs group 1, group 1 vs group 2, and group 0 vs group 2). Am I su... |
Suppose we use the least squares criterion to fit a linear model for the following dataset: $(x_1,y_1),...,(x_m,y_m)\in R \times R$, by solving the following optimisation problem:
$$(a^*,b^*) = \text{argmin}_{a,b}\sum^m_{i=1}(y_i-ax_i+b)^2$$
Assume that the solution is unique. Now, my question is, would any of the foll... |
Please don't close my question, it really is not a duplicate, no other answer on this forum is relevant to my case. Also, I have been advised that if I submit the spss output of my non-normally distributed model, someone will have a look at it and advise me. I have been waiting for some help for weeks. It's very import... |
For background, I am working on a sabermetrics project where I predict probabilities of events with Naive Bayes classifiers.
I calculate the observed expected-value probability from the test-set predictions, and compare that to the expected ("true") frequency of said event in the same set.
Does a chi-squared GOF test f... |
I am attempting to perform a power test to determine the minimum sample size of my next upcoming experiment. First, I made a data set:
gdata = expand.grid((rep(1:10,4)), Lineage=c("A","B","C",
"D", "E", "F","G", "H", "I", "J"))
gdata$Treatment <- (Treatment=c("low","high"))
gdata$Genome = expand.grid(rep (1:4... |
I'm having trouble deriving the mentioned equation from the text. Specifically, I'm having trouble obtaining the $\mathbf{\phi}(x_n)^T$ term. I checked the errata and while the lack of the $\beta$ parameter is mentioned there is nothing about this term.
Given that
$$
\ln\left(p(\mathbf{t}|\mathbf{w}, \beta)\right)
= ... |
I can see from here that prediction interval for a new response Y (setting is simple linear regression) is
However I've read here that
Apparently, no calculation related to x is needed according to this last formula. I would like to know if I can use this formula to calculate prediction intervals and if it is based o... |
Normally, multiple imputation goes as the following.
$Data\to Imputation\to Model\to Statistics$ and the statistics is pooled against a fixed model.
Q. For propensity score analysis, there is a stage of model building requiring propensity score model building. Is there any theoretical reason that I should fix a propens... |
I have a dataset I'm working with containing measurements of several thousand proteins per person, with about 150 people split pretty evenly between two groups (cases and controls). Case status is split evenly within men and women, but gender is split unevenly overall, with about 50 men and 100 women. Everyone has a me... |
i was reading Yarin's thesis on Bayesian neural networks and MC-dropout and , at section 2.1 at page 18, I stumbled upon this formula
$$ p(\bf{w}|\bf{X},\bf{Y})= \frac{p(\bf{Y}|\bf{X},\bf{w})p(\bf{w})}{p(\bf{Y}|\bf{X})}$$
where $\bf{X},\bf{Y} $ is the training set and
$$ p(\bf{Y}|\bf{X})= \int p(\bf{Y}|\bf{X},\bf{w... |
I obtained the embeddings from the pre-classification layer of a neural network for 600K instances. Each embedding's dimension is 1024, thus we have a sample of the embedding space, $\mathcal{X} \subset \mathbb{R}^{1024}$ with a size of 600k. I have the "true" space of this sample in which the true space lies in 4 dim ... |
The Monte Carlo Markov Chain method requires sampling from a multivariate distribution. This is because the Markov Chain process requires dependent draws. See 1:55 at https://www.youtube.com/watch?v=7LB1VHp4tLE. It is claimed that it is difficult to simultaneously draw from a multivariate distribution. But modern compu... |
I have several millions of rows similar to those below, describing consumers(data has been modified):
city
road
house_number
postcode
state
fort worth
sycamore school rd
5421
76123
texas
fort worth
sycamore school road
4750
76133
tx
I want to group/cluster this data, so that people who live closer stay in... |
I have a multivariate dataset where each sample has two factor labels and hundreds of genes as counts. Here is a simplified example of what the data look like:
factor1
factor2
gene1
gene2
1
A
4
20
1
B
10
19
2
A
5
3
2
B
9
2
The question I have is:
Which factor classifies the samples better based on the... |
I have a question for LASSO algorithm. From my understanding, LASSO algorithm can help me to determine among a lot of variables, which of them are useful and which of them are not, but existing LASSO regression method assumes independencies within variable. I want to apply this method on my analysis for time series and... |
SARIMAX is a well-known algorithm for time series forecasting.
But I'm not sure if it is deterministic or non-deterministic.
Could you help me?
|
Suppose we are running a model, let's say a linear regression model or a logistic regression.
Suppose also that we have gathered data for three cities: City A (4000 surveys), City B (5000 surveys) and City C (4000 surveys).
We are interested in the outcome variable Y and we have a set of regressors X (not including the... |
(0 - negative outcome, 1 - positive outcome)
Am I correct? Because I found a different answer.
My answer:
Accuracy rate: TP+TN/ALL(58+25/58+44+23+25)=83/150
Error rate: FN+FP(23+44)= 67/150
Someone say it should be:
Accuracy rate: 58/102
Error rate: 23/48
|
I do hyper-parameter tuning on my network and it outperforms the simple classifier. The difference in classification is considerable after hyper-parameter tuning. But, the problem is that an optimal hyper-parameter performs poorly in a different seed. In other words, I can not find an optimal hyper-parameter for all se... |
In Jun Shao's Mathematical Statistics, page 91-92:
In statistical inference and decision theory, the data set is viewed as a realization or observation of a random element defined on a probability space $(\Omega, \mathcal{F}, \mathcal{P})$ related to a random experiment. The probability space $\mathcal{P}$ is called t... |
I have a 2 arm clinical study with topical anesthetic study group and placebo on the two arms. I measured the pain scores of patients with a pain scale. It is not an experimental study.In the method section, I explained sample size estimation, inclusion and exclusion criteria, randomization, pain assessment, blinding a... |
I have been approaching PCA analysis for a few months and I have a question to ask.
We are discussing with a colleague of mine whether or not it is right to eliminate variables from our model characterized by spectroscopic data.
Plotting the first 2 principal components, these bring in our case 27.8% of the total varia... |
I am looking for a way of rescaling the predictions of my Gaussian Process Model back to the original scale.
The data is scaled for training using a sklearn.preprocessing.MinMaxScaler with range (-1,1). Inverting the prediction mean of the posterior distribution of the GP is simply using the function MinMaxScaler.inver... |
I have to assess changes in a continuous outcome after a treatment, however, my sample size is very small (6 treatment, 5 controls). Also, I need to adjust for 4-5 confounding variables such as age, sex, BMI, etc. in my analysis. Please can you suggest appropriate methods for such a comparison.
My data looks something ... |
I conducted an online behavioural study (N=20) where people listened to a song with lyrics, and rated (in three counter-balanced conditions) the tension they perceived in the music alone (M), the lyrics alone (L), and in the song as a whole (M&L).
Subjects indicated their rating by moving the mouse to control a slider.... |
I am trying to identify whether a specific sample is likely coming from a certain data population using the chi squared test. I use R to do the calculation and my data look as follows:
test_data = structure(c(1527, 0, 0, 0, 17, 0, 0, 0, 834), .Dim = c(3L, 3L
), .Dimnames = list(c("group1", "group2", "group3"), c("cat1"... |
I read a paper and it says "we regressed out the effect of a variable via linear regression".
Can someone provide to recipe to remove an effect of both numerical and categorical variables?
For example, remove the age effect: I know that my variable of interest depends on age and I want to remove that dependency.
Remove... |
Is it a common practice to do clustering before supervised learning to eliminate "noisy data"? Obviously, depending on the type of task. It seems like it makes sense in my case and my neural network then achieve better results.
Is there any resource (paper, online article, or anything else) regarding this?
|
I am new in the GAM modelling. I would like to find a family, that will fit my response variables. I am using the sums of monthly counts of beetles, collected from the beetle traps in ~ two weeks interval (this can vary between traps and years) and from diverse locations across Germany. My datasets contains some zeros,... |
I am trying to make RNN in tensorflow capture a basic pattern in a simple time series in hours. I am trying to solve a bigger problem involving count time series of customer demand.
The simple time series is as follows:
Every 24 hours (1 day) there will be a small integer number either 1 or 2 from a random uniform dis... |
I have the following problem. There is a service station that can provide service for a number of vehicles at the same time. The service data looks like this:
Vehicle ServicePlanStart ServicePlanEnd ServiceTrueStart ServiceTrueEnd
0 A 2022-08-01 08:00:00 2022-08-01 13:00:00 2022-08-01 09:00:... |
I had a dataset where each data sample (pixel) had 7 features (reflectance at 7 wavelengths). However, running my neural network on the 7 features was not able to reach a high accuracy in classifying the pixels into two groups.
Somehow, I came up with this idea of interpolating over the 7 wavelengths so that I got 70 f... |
I was training a model and I accidentally pointed the training and testing set to the same dataset. I was surprised by the fact the validation and training accuracy are not the same. What could be the cause of this? And, Why is the validation accuracy jumping around while the training accuracy is relatively stable?
tr... |
I understand the Engle-Granger test, we regress Y on X, get residuals, then test those residuals for cointegration.
What does it mean to do the other way round, I.e to get residuals from
X = c + bY
Instead of
Y = c + bX
Should these results be different?
I could ask the same about the ARDL test: should the results on t... |
Not sure if this would be considered as being a "stupid" question, but I am still very new to statistical analyses. I have population abundance data and I wish to determine whether the trend in abundance (abundance values = counts) over time (time=years) shows an increasing/declining trend. Should (or rather, can) I ma... |
I'm using a truncated negative binomial model to describe my count data where all values are >=1. I have attempted to back-transform my model results using emmeans. However, all of my back transformed estimates are <1 which doesn't make sense to me when all of my data are >=1. The raw means are all ~1.4-1.8. Is this si... |
This is related to Gelman's BDA chapter 3 section 5's noninformative prior density for $\mu$.
Let $\Sigma$ be fixed positive definite symmetric matrix of size $d$ by $d$. Let $y_1,\dots, y_n$ be iid Gaussian r.v. with density normal $N(\mu,\Sigma)$. Let $p(\mu)$ be prior density of $\mu$ which is proportional to consta... |
Suppose that I made a survey with multiples questions where I have a target population of size nearly $N=100$ and a sample of size $n=8$. Is it possible to create any type of confidence interval for the overall results in this survey?
How is the overall margin of error reported in surveys? I've seen some material where... |
The context is not very important but still, here it is: i am using the boot package to calculate bootstrap confidence interval for different statistics (coefficients of doubly robust method estimates, C-index, etc…) and I happen to face the same problem each time.
If I understood it correctly, the issue is that, no ma... |
Given three line segments $L1$, $L2$, and $L3$ of length $1$, give them each a random orientation chosen independently and uniformly among angles, then connect $L1$ to $L2$ and $L2$ to $L3$. What's the probability that $L1 $ intersects $L3$
As I understand it, the largest angle at which we will intersect $L1$ and $L3$... |
I was running a permutation test on my data. My goal was to test difference in means in two samples, by resampling one of them.
I got results like these:
And
From my understanding, the p-value here is the proportion of data points in the sample that have bigger mean difference in the permutation groups compared to th... |
Question
A flips a fair coin 11 times, B 10 times, what is the probability A gets more head than B?
Naive first thought
For the first 10 times of A, he has the same expected number of heads as B.
So if the 11th flip of A results in H, he get more head than B, so the answer is $50\%$.
More careful thought
instead of m... |
Let's say I have multiple categorical predictors (X) and I want to see the influence on outcome (Y) by building a logistic regression model.
Some of my predictors have many levels
i.e. exercise frequency (with levels of 1,2,3,4,5,6,7,8 +) then
collapsing to 1 - 3, 4 - 6, 8 +
or happiness level (excellent, very good, g... |
TL;DR
In KNN, K is the hyperparameter so we randomly pick it while performing RandomizedSearchCV. Should we also randomly pick the split [Cross-validation + Train] after k-folding? I am considering both K and k-folds as hyperparameters.
In Detail:
This is my understanding:
Assumptions:
D: Dataset
K: Number of neighbor... |
I am doing my first own data analysis and I'm new to more complicated mixed models. I fitted a ZINB model with the glmmTMB package with the following code:
model <- glmmTMB(Y ~ 1 + day + NAw*RSSw*gender + NAb*RSSw*gender +
add + (1 + day + NAw||ID), data = data,
ziformula=~1, family="nbin... |
We plan to conduct a research for exploring the risk factors for a cardiovascular disease by a case-control study.
The covariates are expected to be balanced between case and control groups by the Propensity Score Matching.
We will compare the difference of covariates between case and control groups before and after ma... |
I have a dataset that looks like this:
Company
hrs_prev
fsa
fsa/hrs_prev
A
140
5
0,035
B
145
2
0,01379
C
140
60
0,4286
A
155
20
0,0129
A
180
25
0,1389
B
120
0
0
B
130
0
0
etc
etc
etc
etc
Company A, B and C are sub companies from a larger one, say G, fsa refers to absenteeism at work and hrs_pr... |
I came across this quote in this paper. The paper is about training a classfier on images with added Gaussian noise $\delta \sim N(x, \sigma^2I)$. The paper states:
In high dimension, the Gaussian distribution $N(x, \sigma^2I)$ places almost no mass near its mode $x$.
Question:
Why is this statement true? Why is ther... |
I am using CVXPY to solve for a PSD matrix, example as follows:
import cvxpy as cp
import numpy as np
w = np.array([0.3 , 0.25, 0.1 , 0.35])
C = cp.Variable((4,4), PSD=True)
objective = cp.Maximize(cp.quad_form(w, C))
constraints = [cp.diag(C) == np.array([0.0144, 0.0400, 0.0100, 0.0036]),
C[0,1] == 0... |
I am a beginner in ML and I don't quite understand how we can use linear algebra to extract information from our data matrix. For me matrices only have meaning as a transformation between vector spaces but in ML we just construct a matrix from data. Doing a SVD or computing eigenvalues of such a data matrix sounds usel... |
I have a survey that is done quarterly, and in each quarter participants are asked whether they smoke or not. Here is the data:
d <- structure(list(quarter = 1:72, smoker = c(13575L, 917L, 891L,
933L, 1111L, 1104L, 1056L, 1111L, 1127L, 1236L, 1189L, 1136L,
... |
Suppose we got 2 non indepenendent random variables $X_1:(\Omega,\mathcal{A})\rightarrow (\mathcal{X}_1,\mathcal{B}_1)$ and $X_2:(\Omega,\mathcal{A})\rightarrow (\mathcal{X}_2,\mathcal{B}_2)$ with densities with respect to $\sigma$-finite measures $\mu_1$ and $\mu_2$, respectively. Is it true that random vector $X=(X_1... |
After asking this question earlier today, I figured the approach I should use is not very clear to me so I turn to the community hoping for some answer or good reading material because I kind of get lost as I dig deeper into it...
The idea is to conduct incremental analysis to assess the prognostic value of an indicato... |
I would like to demonstrate mathematically a thing, but I struggle to do this since I'm not a mathematician and I only have some high school remains of maths - I'm only an evolutionary biologist with curiosity for maths and stats.
Here's the pitch.
We have a dataset with three variables, with a fixed number n of indivi... |
gender = sample(10:100, 10000, replace = TRUE)
desks = sample(0:1, 10000, replace = TRUE)
trees = sample(0:1, 10000, replace = TRUE)
leaves = sample(0:1, 10000, replace = TRUE)
people = sample(0:1, 10000, replace = TRUE)
rebel = c(rep(0, 9999), 1)
df = data.frame(cbind(gender, desks, trees, leaves, people, rebel... |
I have a dataset which seems to be uniform by eye-examination.
I want to verify if this distribution is indeed uniform. I saw a couple of questions in here which suggested using a Kolmogorov-Smirnov test on my data set, so I decided to read about this test online.
According to Wikipedia, the Kolmogorov-Smirnov tests th... |
I would like to know what additional information one can obtain from paired vs unpaired clinical data? Why one should prefer one design over the other one?
My second question, imagine I run two separate trials, testing a drug, one being a paired design and the other being unpaired. If I run the paired ttest on the firs... |
I use the independence working correlation, the parameter estimates β in glm and GEE is identical,but the standard errors is different。
The standard error of both GEE and GLM are calculated using the Fisher information matrix.
GEE and GLM use same score function, so they have the same fisher information matrix, but hav... |
I created a neural network and I have trouble getting it to train. I followed all advice in this post: What should I do when my neural network doesn't learn?
but have not had success yet.
Then I decided to create a very simple dataset to check if the model is able to learn at all. I expected to see the model learning t... |
I have a beginner question. I am trying to find most impactful factors for mean value when comparing two data sets to each other.
Week 1:
Week 2:
I can state from this simple example that there were two major factors impacting the cost per unit change (from 1.90 to 2.09).
Buyer 1 had higher cost and cost per unit
Bu... |
Given daily ticket data from feb 2022 to July 30 2022, I am trying to forecast tickets received. I am unsure on which model to use (Arima, Sarima,SSE) based on my data. I have attached a picture of the trend of the data. The first 130 days or so are for the training, the rest (about 40 days) are for the test data, whic... |
I am aiming to develop a retrospective study involving chart review of cancer patients, all having a specific type of disease. I then aim to perform various types of survival analyses on my dataset such as Overall Survival and Progression Free Survival comparing a group of patients receiving specific treatment for < 5 ... |
Let's say I have a statistic X which is distributed as a mixture of two chi-square distributions; $$X \sim 0.5\chi^2_1 + 0.5\chi^2_2.$$
I'm wondering how I can calculate the critical value(and p-value) for this statistic $X$ at a given significance level $\alpha$?
|
If I were to compute age-sex standardised incidence rates based on a simple random sample of a nationwide household survey on hearing loss. Noting that this a sample not the total population, so the denominator is known (The total number of people residing within the country is known by age and sex) however the numerat... |
It seems that there are two methods and packages in R to calculate the Percentile curves based on LMS (Lambda for the skew, Mu for the median, and Sigma for the generalized coefficient of variation; Cole, 1990).
-- GAMLSS (Generalized Additive Model for Location, Scale and Shape)
-- VGAM (Vector generalized additive mo... |
I want to infer cell frequencies (or conditional probabilities) for a population table where:
I know the marginal totals but not the cell frequencies, and
I know the cell frequencies for a table of a related but distinct population.
Specifically, this is to understand the interaction between gender (noting US Census ... |
Given sample data $x$, we hypothesize that some features (i.e. dimensions) of $x$ will generalize well, while others will generalize poorly. For example, when predicting medical diagnosis, age and blood pressure will likely generalize much better than zip code, last name, or patient-id. It is common to drop these fea... |
I'm using PCA to reconstruct a pair of sinusoidal signals. The second signal differs from the first in that its frequency is higher but I've kept the variance of the signals the same. I want to find out why the reconstruction error is higher for the higher frequency signal when using PCA to reconstruct it even though t... |
I am facing a small dataset to do machine learning. The small dataset is not the dataset on which ML will be applied. It is a derived dataset on which the model will be trained. However, due to derived nature, part of dataset will be discarded. In particular, some of the sample in training will never show up in the val... |
Let $Y$ be lognormal with parameters $\mu$ and $\sigma$, such that $\log(Y)$ is Gaussian with mean $\mu$ and variance $\sigma^2$.
I know $0 < Y < \infty$, $E(Y) = \exp(\mu+\frac{1}{2}\sigma^2)$, and $Var(Y) = \exp(2\mu +\sigma^{2})[\exp(\sigma^{2})-1]$
Let $R = Y - 1$.
$-1 < R < \infty$, $E(R) = \exp(\mu+\frac{1}{2}\si... |
In this paper, they talk about the existence of epoch-wise double descent. In Figure 10, you can see that, with a sufficiently large model, the test error keeps decreasing even after the training error has become 0.
In my understanding, SGD should not change any weights once the training error is 0, since gradients wo... |
My R^2 values for the cross validation vary from 0.174 to 0.967. What's the reason behind this major difference?
Degree-1 polynomial: R^2 for every fold: [0.87593726 0.17452837 0.58873146 0.96734281 0.95324541 0.91276834
0.92310873 0.86275813 0.94933422 0.96215234]
Degree-1 polynomial: Average R^2 for all the folds: ... |
I have a classification problem that I am running predictive models. The response variable is categorical (3 classes) and all of the predictor variables are categorical. I ran pearson's correlation coefficient to find 5 of the 35 variables highly correlated with each other (cutoff >= 0.8). I also ran a LASSO regression... |
I have image-like data (e.g. H x W x C), where each channel contains quite different information. You can think of it being a 2D map (H x W) with information like elevation, wind velocity, temperature as channels (C).
This data is fed into a neural network to make predictions. IMHO it is common sense that (for most cas... |
I have a data set of the percentage of the population covered by 4G mobile network, for a number of years, the data looks like this:
## # A tibble: 196 × 10
## # Groups: Country [196]
## Country `2012` `2013` `2014` `2015` `2016` `2017` `2018` `2019` `2020`
## <chr> <dbl> <dbl> <dbl> <dbl> ... |
I'm aware on how to calculate the Cumulative Distribution Function (CDF) of the Normal distribution. In R, e.g., one can calculate this given a normal distribution by using pnorm(X) , or given the non-standard normal using pnorm(X, mean, sd).
But what if I need to calculate the CDF for a distribution that's not even cl... |
I'm working with a dataset that was collected to test the following [adapted] research question: Does listening to music (categorical x; 2 conditions: pre_music - post_music) affect test scores (y; continuous variable), and is that relationship modified by IQ level (z; continuous variable)?
A reprex dataset:
dat <- dat... |
As the question say, I'm curious about this. I understand what standard deviation measures. But I would like to see cases where a rolling standard deviation should be used.
|
As far as I know, to decide either you should enter a bet or not, you should get the expected value of that bet
I was wondering if the lottery has a very high expected value, is it wise to join?
There is a real life lottery with this inputs
Choose 5 numbers out of 50
If you get 3 right you win 350
If you get 4 right yo... |
have three classes for sentiment (negative, neutral, and positive). I created synthetic fake data for the positive class the analogy now is 50% neutral, 45% positive, 5% negative. I get the metrics below and I am not 100% sure how to interpret them and if it is good to deploy this to production. I want the model to cat... |
I have found in the slides of my course about linear regression a sentence that I couldn't understand properly which is the following one: "If residuals are not normal, analysis on Cook's distances is questionable".
I have only thought that when residuals are normal distributed, the (Cook's distances) follow a Fisher ... |
My problem is I have a specific logit-normal distribution (I have $\sigma^2$ and $\mu$) and I want to find the probability that if I were to sample the distribution, then use that value to perform $n$ trials I would get $k$ successes. It should be easier to understand with the equation:
$$
\int_{0}^{1}
\color{red}{\bi... |
I have a question to ask about the interpretation of the PCA result.
The context concerns biological samples (spectroscopically analyzed) divided into treated and untreated samples (control)
If the first principal components describe only a small part of the variance (eg 15-16%) it means that they are not able to repre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.