instruction stringlengths 9 38.7k |
|---|
I employ the Gamma–Poisson conjugate family for my statistical model.
I want to use an informative prior.
From theory, I know that the values of the Gamma-distributed random variable lie within the interval $[x_0,x_1]$.
Using the shape-and-scale characterization, I need to find the values of $k$ and $\theta$ such that... |
I am trying to learn if Extraversion affects how people follow COVID-19 guidelines when stratified by male/female gender.
The data is set up so Extraversion is the predictor variable, guideline compliance is the response variable, and the data are stratified by gender.
I tried to create two models for each gender and t... |
I am trying to do this using the Poisson-Gamma mixture parameterization.
I think the derivation is related to the derivation of the expected value. But I have only seen how to derive the mean using conditioning, not from summation. Could someone help?
|
I have 322 samples with survival data (71 had events) and wish to calculate the power to detect an association with a linear predictor (no covariates) at $\alpha$=0.05 and hazard ratio=1.561. Been struggling to find any help I can understand as a non-mathematician.
The results of the model are:
coef=-0.07427
exp(coef)... |
Here is the problem I need help with,
I have two stem cell lines (line A and Line B). These cell lines were generated from one source.
I have six flasks, three of the flasks contain cells line A and the other three flasks contain cells line B. All the flasks contain cells of the same passage, cultured in the same media... |
I am dealing with longitudinal data (Visual analogue scale (0-10)), and my data is skewed and contained several zeros. I have missing data (MAR) and can't use ANOVA with the non-parametric test, so I was supposed to use a linear mixed model. I know whether the continuous data is normal distribution is not so important ... |
A dumb question here ...
I am confused about UMVE and Linear Combination of Two Unbiased Estimator (that can potentially create a more efficient/lower-variance estimator).
Taking $\mathcal{Unif}(0, \theta)$ as an example and our target parameter is $\theta$. We know there are two unbiased estimators and the order stat... |
I recently started working with sklearn, and found myself creating new features often (new features with K Bins, with various Encoders etc.).
What I noticed though, is that is very difficult to systematically create new features (i.e. have a general approach in creating new features). For example, I was recently analiz... |
This is a split-off from a different question about right-censored data. I think that one has been handled nicely. However, there is a corollary. In addition to analysis of time to complete a task with censorship at time = X (maximum time allowed), the researchers want the distance traveled over that time to also be an... |
I have a doubt regarding how to choose the value for k in KNN. I saw in many websites to take sqrt of samples. Is the sample here total number of rows or (number of rows x number of columns)? Can someone please explain?
|
This is a super trivial question, but for some reason I am stuck and I simply don't get what I am missing/doing wrong.
The cosine similarity is defined as followed:
I have this dataset, of points that have their centroid at the origin:
I know that the dot product
xT * y = 341.575
and I also have both standard deviati... |
Context
The purpose of this analysis is to examine sex differences in Bath Ankylosing Spondylitis Functional Index (BASFI) scores in Axial spondyloarthritis (axSpA) patients who are starting their first Tumor Necrosis Factor inhibitor (TNFi) treatment over a two-year follow-up period. The BASFI score consists of ten do... |
I measured a quantity 100 times to get 100 measurements denoted as $x_1$, $x_2$, ..., $x_{100}$, with uncertainties as $e_1$, $e_2$, ..., $e_{100}$. Now if I want to report the average of these 100 measurements, how should I report the uncertainty of this average value? I'm particularly confused as several ways seem re... |
I have a model that I have fit to some data with an r^2 value of 0.83. But the fit is based on only 14 points of data which would be less significant than say 200. What is the best way to show how having such a low number of data points leads to less significance in the results?
actual
model
7092.34
7327.17
... |
I'm a chemist who has been asked to put my statistics hat on, and I'm looking for some help.
Situation: Every month we get a report with the number of guest complaints for each item we sell. Each month, I want to be able to identify which items have an increase in monthly guest complaints that falls above the "normal"... |
I am a student approaching binary logistic analysis. I was wondering whether the independent variables used in the logistic regression can be expressed in percentage changes. If yes, How to interprete the OR?
Thanks so much for any help!
Matias
|
When using the GLM procedure in SAS for an overparametrized ANOVA model, it shows you the General Form of the Estimable Functions for the given model, i.e. the basis of the functions of the model parameters that can be uniquely estimated without regard to the restrictions used on the parameters. How can I get this same... |
Let's assume I want to test a paired differences between two samples. Or, equivalently, to check, if the paired mean of differences is statistically non zero.
Now I want to calculate the sample size. There are 2 approaches:
using the power. The formula uses the effect size (typically Cohen's D), alpha (significance le... |
I have developed a theoretical distribution in the form of
$$
f(x) = \frac{\beta}{\alpha}\left(1+\frac{x}{\alpha}\right)^{-\beta - 1}
$$
Where $\alpha$ and $\beta$ are parameters of the model with physical meanings. I have read that we can't simply estimate parameters from KS test and then evaluate its goodness of it.... |
My experiment was conducted in multiple years. Each year, plants were sown in an infested field and then harvested after a certain time. There was a weather station to record weather data. I would like to use mixed models to investigate the effect of weather variables on disease development. The problem is the duration... |
Suppose we are interested in the following hypothesis:
$$H_0: h(\theta)=0\quad versus\quad h(\theta)\neq 0,$$
and we have an usual M-estimator for $\theta$ such that
$$\sqrt{N}(\widehat{\theta} -\theta) \xrightarrow{\quad d\quad} N(0,A^{-1}BA^{-1}),$$
where $A$ and $B$ are the second and first derivative of the objecti... |
Considering the following hypothetical dataset of lesion occurrence in kidney for ~200 patients with disease X:
location of kidney
left
right
location 1
112
101
location 2
54
39
location 3
37
33
location 4
112
95
location 5
24
18
** patients can have the lesions in multiple locations within the kidn... |
How can I use different dimensions from several scales to compile my own measurement?
Like there are several different structures about burnout, MBI, OLBI and so on. May I use some of their dimensions to assess a composite construct as I need?
Thanks for your answers!
|
I'm confused about using an appropriate post hoc pairwise comparison test in the presence of a significant 4-way interaction effect in the model.
Here are the details of the experiment: I want to test the interaction effect of two learning conditions on the two groups of subjects and I have an additional within-subject... |
Consider the area under wheat for a sample of 44 clusters
selected from 11 different villages. Four clusters were selected from each of the
11 villages and each cluster consists of 8 survey numbers(fields). Here sum of
squares (SS) due to between villages is 2000, SS due to between clusters within
villages is 8250 and ... |
I am trying to filter out outliers given a data set (maximum of 50 samples). For example:
dataSet = (10.0, 10.0, 10.0, 10.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.9, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8)
1 and 0.9, and 0.8 should be removed.
Another example:
dataSet2 =... |
I would like to automatically select the number of factors after factor analysis (PCA). I mean the graphical selection method according to the Cattel criterion, which determines where the steepness of the graph ends:
Therefore, I want to check where the first steepness of the graph ends, withouth looking on plot. For ... |
I'm studying variational inference (in the context of VAEs), and I'm watching this video at this time point. At this point in the video, the goal of approximating the intractable posterior $p_{\theta}(z|x)$ by an approximate posterior $q_{\phi}(z|x)$ has been set, and the ELBO formulation has been presented.
As is sho... |
Disclaimer : not a strong background in Bayesian statistics.
I gather from questions such as this one and this one that in the context of VAEs, we suppose that we know the (form of the ?) prior $p(z)$ and the likelihood $p(x|z)$. What we don't know is the posterior $p(z|x)$ and the marginal $p(x)$, the whole point of t... |
I am doing research in Psychology. The research question is "There is a relationship between sleep quality and academic performance". My two variables are sleep quality and academic performance. I know what test to perform here.
I also want to test how these two variables vary with gender, student status (being a stude... |
Lot of people use the kruskal function of the agricolae package (R) to make multiple comparisons.
If they do so, it means that they want to apply a non-parametric test to conclude if there is, at least, one group different from an other. And then (when the null hypothesis is rejected), apply multiple comparisons to kno... |
I am a student of remote sensing and recently came across a problem that is essentially a mathematical statistic and I don't know how to prove it.
Here is the background. Finally, I will put this specialized problem into mathematical words, and I hope you can understand it.
Satellites take images periodically and split... |
I am new to clinical drug trial data analyses.
The goal is to learn the analyses of clinical drug trial data, that incorporates demographic data, efficacy data and co-morbidity data at the least.
I am looking for R or python tutorials/guides that can help in self learning.
Any pointers from the experts here would be of... |
If I have multiple estimates, e.g. a set of regression coefficients or estimated means, each estimate associated with a standard error. I can easily average them to get an average estimate. However, how do I compute the average standard error based on the individual estimates and individual standard errors?
|
Our team is tasked with forecasting several timeseries at the daily (or hourly) level:
number of calls ('demand')
number of calls catergorised as important
mean vehical travel time to caller
mean time to answer call
These variables all form part of an integrated system that we want to model/understand.
Currently, we ... |
I don’t quite get how to solve this problem:
There are 100 people in the room. 10 of them are suspected spies. We know for sure that 20 out of 100 people in the room are spies. What is the probability that not all 10 suspects in the room are spies (0 out of 10 are spies or 1 out of 10 are spies or 2 out of 10 are spi... |
For instance, when creating the sampling distribution for Central Limit Theorem, does it matter whether it is with or without replacement? Or what about wherever we assume i.i.d, does it matter then?
In another case, bootstrapping I know we sample (from the sample) with replacement, so it is important here.
But in gene... |
I'm working on a project where the goal is to predict sales of certain generic products. There are many features, but social media metrics are causing me currently some headache. Social media metrics are a decent indicator of success. I have data related to Twitter and Facebook. The count of 'likes' seems to be a quite... |
My question is similar to this one Whether increasing the sample size influences the prediction interval? and it's also related with Rob Hyndman - Forecasting: Principles and Practice (2nd Edition), but I want to gather some more insights:
As far as I understand, when we fit a time-series model:
If the model is statio... |
I am struggling in the preprocessing of some analyses. I have a dataframe with around 100 observations and quite a few possible predictors (categorial and numerical data, about 20 in total). I am quite aware of the restricted number of cases and the inherent problems, still I would like to come up with some predictions... |
KL-divergence is often defined as
$$D_{KL}(P||Q) = E_{x\sim P} \left[ \log\left(\frac{P(X)}{Q(X)}\right) \right] = \int_{-\infty}^{\infty} P(x) \log\left(\frac{P(X)}{Q(X)}\right)dx$$
I don't quite understand the meaning of the notation of the second term and how you can get the third term from there. The fact that ther... |
I am trying to use a Transformer to solve a time-series problem. I built the model using the Pytorch library. And I am planning to train the model from scratch. The model is looking back last L time-steps values of N data-series and should predict the next time-step (N values).
For this, I figured out the architecture,... |
As someone who started by studying classical statistics where the Central Limit theorem is key to making inferences, and only later now am studying Bayesian statistics, I was late to realize that the Central Limit Theorem has a much smaller role to play in Bayesian statistics. Does the Central Limit Theorem play any ro... |
This is probably a broad question but I am interested in getting the Joint PDF for n random variables each of which can take integer values within a finite range.
I have data in the form of time series for these n random variables (it should be possible to see a correlation from this).
For better understanding, see thi... |
I am starting to work with time series and am a bit lost with this specific time series.
I am working with the following time series. The Y variable is the total subscribers from a YouTube channel over time.
The first thing that I did was to perform the Dickey-Fuller test to see if the time series was stationary or no... |
I am part of a company that produces data from satellite images and machine learning/deep learning. We produce different data and sometimes the results of one step will be used as input for the next step.
For example, we use a Google Earth image and a trained model to detect the roofs of houses in a village. From these... |
Specifically, can we use formulas like $R^2$ to train a model? If not, what stops us from Goodness-of-fit formulas as loss functions?
|
The given information are that $X_i(i=1, 2, … ,n)$ are following distribution with mean $E(X_i)=\mu_i$ and variance $\sigma^2$. Null hypothesis is given as $H_0:\lim \frac{1}{n}\sum\mu_i =0$, and alternative hypothesis is $H_1:\lim\frac{1}{n} \sum\mu_i \neq 0$.
I need to suggest a test in this case. I know $\lim \frac{... |
I am working with GAMLSS technique and I use LMS (with three parameters of mean,variation and skewness) method. I found the follwoing formula to calculate the lower limit of normal as the link function for mu is log fucntion.
LLN= exp(log(mu)+log(1-1.645*nu*sigma)/nu)
In GAMLSS package, there is a function qBCCGo(p, ... |
I am trying to see whether the conditional expectaction of E(X|Y) is the same as conditional expectaction of E(X|f(Y)), where f(Y) is any function of Y which is smooth, e.g. polynomial, sin etc.
|
hey i'm a beginner in data science, started working on the familiar "Boston" dataset ,and i tried to fit a multiple linear regression model to predict the "median house price " , after preprocessing the data , i was able to create , a model with an adjusted r squrared :75% , and it performed well on test data ,the p... |
My dataset looks like this:
agevote gender comcat1 comcat2 comcat3 comcat4 comcat5
1 0 1 High High High High High
2 1 0 Distributive Distributive Public Public Public
3 0 0 High ... |
please could you help me with this?
If a random variable X is independent of Y, that is E(X|Y) = 0 , does it also hold that X will be independent of any smooth function of Y? i.e. E(X|f(Y)) = 0 ? f(Y) being a polynomial, or exponential etc.
Thank you for your answer.
|
Say I have $N$ samples of 100 numbers all drawn IID from the same distribution $\mathcal{D}$. For each sample, I take the 95th quantile to get $N$ sample quantiles $\hat{q}_n$. Will taking the average of these sample quantiles $\mathbb{E}[\hat{q}_n]$ estimate the true quantile of the population distribution $\mathcal{D... |
I am researching a gender pay gap, but my data includes companies in a few different countries. The wage norms are vastly different in these countries, and I'm trying to figure out a way to "even out" the data while still keeping the distributions within countries the same. I have tried normalising the data within each... |
I have a few questions about matched case-control study design. How do we handle matched case-control study design if you don’t have matched controls for all the cases? Would you remove unmatched case from the cohort? Also, how to handle if I need 1:2 case:control data but some cases have only 1 control? Thank you.
|
in my research the DV should be measured by means of an intent scale (Individual Entrepreneurial Intent Scale). For "controlling" if the answer in DV is correct, I want to include a binary Yes/No question asking if the user is really interested in becoming an entrepreneur.
So, does this approach makes sense?
If yes:
w... |
I am measuring two points x and y with some normally distributed noise associated with each point, and want to determine which is greater:
x_measured = Normal(x_mean, x_sd)
y_measured = Normal(y_mean, y_sd)
Is there a way that can calculate the odds that I correctly order x_measured and y_measured ?
|
I'm probably being very dumb, but I'm trying to figure out the variance by hand using R, and I am using a dummy dataset to figure out the formula. My dataset is
x = (1,1,2,3,3,3,3,3)
Using var(x) I get 0.8392857, however when using mean(x^2)-mean(x)^2 I get 0.734375. In my mind, these values should be the same, could ... |
I want to model a queue system where customers tend to arrive in chunks. The queue represents vehicle arriving at a traffic light (consider just a single approach) and they tend to arrive in chunks because of green/red phases of upstream traffic lights.
What families of probability distributions are best suited for thi... |
I'd like to write a formula for a correlation coefficient that involves sorting continuous observations, both within a variable and by another variable. For example, I'd like to say that $r$ is computed between $X$ sorted by $-Y$, and $Z$ sorted by itself, all ascending. My naïve notation for these terms is $sort(X|-Y)... |
I'm fitting SciKit-Learn's KNeighborsRegressor on a 5 dimensional space and my model performance is peaking at a score of $\sim 0$.
In their documentation they say that the score they're using is the following:
$$R^2 = (1 - \frac{u}{v})$$
which I believe is the formula for the Coefficient of Determination, making:
$$u ... |
Once training is finished and a neural network is in inference mode, its outputs will be deterministic, i.e. the weights have been fixed. How is it then that generative models are able to generate non-deterministic outputs?
|
mydata<-structure(list(Before = c(24.6, 17, 18.9, 14.6, 16.5, 20.3, 21.6,
14.1, 18.9, 21.1, 25.4, 14.4, 23.8, 20, 24.5, 25.7, 20.4, 19.4,
14.7, 17.4, 19.8, 23.3, 20.1, 17.3, 21.2, 17.5, 18.9, 20.3, 17.8
), After = c(20.4, 16.6, 20.7, 17.3, 20.4, 19.8, 22.6, 15.9,
20, 19.1, 28.4, 16.2, 26.8, 20.4, 26.2, 20.4, 19.... |
Trying to collect all the top reasons why we need to scale our independent variables in a ML model. I have 3 reasons that I've collected so far. Please lmk if I am missing any here.
Correct for large nominal vars having a bigger impact to a classifier. Eg. Salary diff of $1K will have a higher impact than Age diff of ... |
We know that the mean of a random variable is calculated by adding up the multiplication of the random variable values with their related (probability distribution) probabilities.
But what I am trying to get my head round is how this is actually working without dividing by the number of values in the random variable?
|
the ADF result
and ACF &PACF
the series decomposition , the seasonality exist . so why the statistical tests stationary
|
Do I need to account for autocorrelation when assessing correlations of environmental variables on an NMDS (nonmetric multidimensional scaling) ordination of species data? If so, how?
Data + setup:
I've constructed an NMDS ordination from a Bray-Curtis distance matrix calculated from relativized abundances (basal area... |
$C$ is defined as the set of ($k\times 1$) vectors $c$ such that $c^{\top}\beta$ is estimable.
Today I learned that estimable is defined such that the condition must hold: the expectation of a linear combination of the $Y$ equals to a linear combination of $\beta.$
I need to show that the dimension of $C$ is equal to t... |
In the context of a simulation study, for a bootstrap methodology to estimate a parameter:
Should a lots of bootstrap (but each one have a few resamples) be favoured over doing few bootstrap (but each one have a lots of resamples)?
|
One of the OLS assumptions, "linearity", is often stated as equating each observation of the dependent variable with a linear combination of the independent variables plus some error term.
What confuses me here is that I don't quite understand how this is actually imposing any assumption if there are no constraints on ... |
In a problem I need to estimate a Bernoulli mixture model with 3 mixing components. More specifically, we have a random vector $\mathbf{D}=(D_1,D_2,D_3,D_4,D_5)$. $D_1,D_2,D_3,D_4,D_5$ are drawn from independent $Bernoulli(p^1_1),Bernoulli(p^1_2),Bernoulli(p^1_3),Bernoulli(p^1_4),Bernoulli(p^1_5)$ with probability $w... |
I think I have a handle on what bootstrapping is and why we need to use it.
Please confirm if my understanding is correct:
Goal of bootstrapping: To find the SE of a feature’s coefficient that you estimated in your ML model.
Background: We have an Original dataset of n = 3. We ran a ML model on it and came up with a co... |
I'm trying to separate my data into clusters using the k-means algorithm and the hierarchical algorithm, choose which algorithm fits my data the best, and evaluate the results. However, all of my results are conflicting.
As a first step, I plotted my data using the k-means method. When I split the data into 6 or more c... |
I'm working on stochastic optimization for optimal energy dispatch, where the uncertainty of photovoltaic power output should be considered with monte carlo sampling and scenario reduction technique. In most literature I've read, the power output uncertainty of the photovoltaic module $P_{PV}$ is usually considered as ... |
I'm trying to get the node embeddings in the knowledge graph using TransE.
But there are some confusing concepts for node embedding using TransE.
I found the general TransE code, and it contained a dataset split for training and testing.
But when I need to get the embedding vectors for the overall nodes in the knowledg... |
Use AR(2) model as an example of my question:
$$x_t = \phi_1 X_{t-1} + \phi_2 X_{t-2} + \varepsilon_t$$
if $\phi_1 = 0.5$ and $\phi_2 = 0.5$, then sum of AR-parameters equals to 1.
Does it violate the stationarity(or more precisely stability)?
|
Consider a path where the system goes from states $i$ to $j$ and then from $j$ to $k$. Given that the probability of finding the system in state $i$ is $p_i$ and the transition probabilities are $p_{ij}$ and $p_{jk}$, what is the path entropy of the path $i \rightarrow j \rightarrow k$?
To my understanding, the probabi... |
i want to evaluate the organization based on the number of satisfied customers
and the r^2 is negative
this is the original data
SECTOR price profit INSPECTION licenses PR CS(S) CS(NOT S) A(s) A (nonS)
0 A 3809 1643 6834.0 499.0 4053 203.0 45.0 NaN NAN
1 B 18608 16... |
The configuration space is given by the
binary sequences of length N, i.e.,
$Ω_N =\{ω = (ω_1,...,ω_N ) ∈ \{−1,+1\}^N\}$
Write $X_k (ω) = ω_k , 1 ≤ k ≤ N, ω ∈ Ω_N$
to denote the projection on the k-th component of ω, which is to be thought of as the step of the random walk
at time k. As probability
distribution on $Ω_N$... |
Let's say you are working with a statistic (say, the mean of the population) of a skewed distribution with a long, long tail such that confidence intervals must be very skewed to achieve reasonable coverage precision for reasonably high n (<100) samples. You can't sample anymore because it costs too much.
OK, so you th... |
I have some data points at a daily level for the past 1 year. For each month, I need to identify which week has the most and increasing and most decreasing trend.
To determine the trend, I am using Linear regression to fit a line to it and using the slope.
Now I want to explain how the data has increased changed in tha... |
Let's say you are working with a statistic (say, the mean of the population) of a skewed distribution with a long, long tail such that confidence intervals must be very skewed to achieve reasonable coverage precision for reasonably high n (<100) samples. You can't sample anymore because it costs too much.
OK, so you th... |
I am doing a survival analysis in R for a university assignment. The data used is about crowdfounding and my goal is to know the time it takes for a campaign to be successful as well as the impact of different variables in this time.
I have performed the Kaplan-Meier analysis and then the Cox analysis, but when perform... |
I have an array of where each columns represents the probability of being in a certain state and rows represent time indexes. Each one of the rows sum up to one (we always are in one state).
\begin{align*} % to put reference remove * and replace \\ by \label{pred-ME} \\
x_{i, j} &\in [0, 1]^{n, T}\\
\sum_{i=1}^{n} x_{i... |
I'm comparing several GAMLSS models and was wondering how I might use the term.plot to identify the best model/fit. What type of information can we get from this graph? Can I argue that the model with a wider confidence interval performs worse (just looking at this plot, how do you determine on the model's performance)... |
Assume that a RV is drawn from a distribution with PDF $f(x)$. I would like to approximate this distribution as a mixture of infinitely many uniform distributions. Without loss of generality, assume that I select intervals with the same length, such as $[a,b]$. The density function of that truncated distribution is the... |
In the textbook All of Statistics by Wasserman, there's an exercise that asks the following:
Let $X_1, X_2, \ldots$ be a sequence of random variables such that
$$
\mathbb{P}\left(X_n=\frac{1}{n}\right)=1-\frac{1}{n^2} \quad \text { and } \quad \mathbb{P}\left(X_n=n\right)=\frac{1}{n^2} .
$$
Does $X_n$ converge in prob... |
I am trying to find a way to affirm with certain confidence that a batch of products have no defects at all.
This question is very similar to this one but I do not know, nor can assume, any percentage of defects, because there can not be any.
How can I find a sample size to be, let's say, 90% confident, that my 1000 pr... |
The following question is an assignemt I have and I'm stuck.
I've trained a linear regression model based on 200 observations that I randomely picked from the data. So now I have $X_{train}$ and $Y_{train}$. Then, I'm asked to pick another 100 observations, and find $E[Y_{new}|X_{new}]$, using whatever bootstrap approa... |
I will use the hsb dataset inside descriptr in R as a toy example. In my original dataset variables are different of course, but they could be described as follows using this dataset.
library(descriptr)
mod_hsb <- hsb
Now, I want to specify the following model:
samplemod <- lmer(math ~ ses*female + (1 | prog/schtyp)... |
I have a question regarding calculating the power for a statistical test that includes data which are estimated by a model (means they have an uncertainty):
I want to find out if two piles of stones differ significantly in weight (let's say only around 5%).
To find an answer, I would measure the weight of each stone in... |
library(mgcv)
model1 <- gam(x1,x2.....,xn)
I can get the partial dependency plots with the predictors and can also use the predict function for model prediction. But I want to publish the model in a Research journal, hence i will be needing the model in an equation format to be published in a paper so that someone rea... |
When splitting train/test data sets there is an option to set a gap between them. For example, given a series of 100 days, we can split as follows: train = 80, gap = 1, test = 19. In the materials I'm learning, however, there isn't a clear explanation why to do or not to do so, and how to determine the gap length. I ca... |
For two random variables $X$ and $Y$, does it hold that the median of $\frac{X}{Y}$ is approximately equal to the median of $X$ divided by the median of $Y$:
$$
F_{X/Y}^{-1}(0.5) \approx \frac{F_{X}^{-1}(0.5)}{F_{Y}^{-1}(0.5)}?
$$
Could you please provide a derivation?
For means this does not hold in general. I did a ... |
We consider a classical data set from Gelfand and Smith containing the information about ten nuclear power plant pump failures. We are interested in the failure intensity of each pump and we employ the following model.
Let us suppose that the number of failures of the $i$-th pump $x_i$ observed for time $t_i$ has Poiss... |
I have trained a linear regression model based on some data. Now I have new data, and I need to find a way to calculate the CIs for each $Y_{new}$ sample. Meaning now I have n samples
in the features $X_{new}$ and the same n samples in the labels $Y_{new}$.
I was able to calculate the CIs for $E[Y_{new}|X_{new}]$ for e... |
Let $\sigma : \mathbb{R}\to\mathbb{R}$ be a sigmoid-like function, $b \sim \mathcal{N}(0, 1)$, $x_1 \in \mathbb{R} $, and $x_2 \in \mathbb{R}$.
Can we obtain a closed-form solution of $\mathbb{E}[\sigma(x_1 + b)*\sigma(x_2 + b)]$ ?
As written in this page, probit is sometimes used for an approximation of the sigmoid fu... |
Let $A$ be a Borel set of $\mathbb{R}$. Then show that the smallest $\sigma$-field of subsets of $A$ containing the open sets in $A$ is $\{B \in \mathcal{B}(\mathbb{R}) \mid B \subseteq A\}$.
I am thinking to use of good sets principle on the set $G = \{B \in \mathcal{B}(\mathbb{R}) \mid B \subseteq A\}.$ and $B$ is bo... |
I stumble upon this question.
We are solving a classification problem using a Decision Tree. When increasing the depth of the tree the accuracy improves until it stagnates at 90%. Why is this an unexpected behavior? Can you offer a plausible explanation?
I think we re are suffering from underfitting. Am I correct in my... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.