instruction stringlengths 9 38.7k |
|---|
I am trying to model the effect of volume traded on implied volatility of weekly options. I have the data for 52 weekly expiries at 5 minute intervals.
However the key insight is that each weekly run is a unique path which "is/may" be correlated to previous observations in same expiry path. In that case - each of these... |
I'm having trouble formalizing the following classification problem:
Let $x_i$ denote univariate (scalar), continuous, real data points
Let $y_i \in \mathbb{N}$ be their corresponding labels
Classes are ordinal in the sense that $y_i = 0$ corresponds to a regular/normal condition, while $y_i > 0$ correspond to increas... |
I am planning on doing a regression analysis on STATA on the financial performance of private equity funds. On my descriptive statistics, I saw higher levels of kurtosis and skewness. I decreased these by using the winsorization method for outliers. However, I still have high levels, especially on the kurtosis.
Would ... |
I am using DecisionTreeRegressor and RandomForestRegressor from sklearn in a case where i have multiple output, but i did not find a reference article for the regression case (which is used by sklearn).
There is one reference for classification case "FAST MULTI-CLASS IMAGE ANNOTATION WITH RANDOM
SUBWINDOWS AND MULTIPLE... |
I have data on the abundance of beetles I have collected (I have also done this for biomass of beetles and proportion of abundance represented by a particular functional group of beetles, but only include abundance for simplicity in this post).
Beetles were collected over 3 seasons: winter, spring and summer. At 3 site... |
I have read in several places now that random effects estimators are more efficient than fixed effects estimators, in particular here
I’ve searched this site and Google and couldn’t find this result. So I’m still not sure how to show this.
Thanks
|
I have the following study design:
stimuli: 240 pictures:
6 pictures of 40 students each
(each student fixated one of six points and during each fixation one picture was taken)
each stimulus was rated 4 times by each subject
independent variable: gaze direction (point 2 to 6 in degrees of visual angle, only positiv... |
Let us assume we have the following linear regression model:
$$
w_{it}=\alpha_i+v_t+\varepsilon_{it}
$$
where $w_{it}$ represents wage of an individual $i$ at time $t,$ $\alpha_i$ is an individual fixed effect and $v_t$ is a year fixed effect. Is there a closed form expression for $\hat{\alpha}_i^\text{OLS}$?
In the si... |
Many times I've read that the following expresion $(x_1+x_2+...+x_n)/n$ is an estimator of the population mean. I also read, for example here: that the previous expresion defines a sequence of estimators, indexed by the sample size n.
Is the difference a matter of definitions or due to language abuse? What is the prop... |
I would like to model the variables $Y_1, Y_2, …, Y_n$, which satisfy the constraint $Y_1 + Y_2 + … + Y_n = Y$; where $Y$ (or at least an accurate estimate $\hat{Y}$ thereof) is readily available. More specifically, I am interested in the relative proportions of $Y_1, Y_2, ..., Y_n$. I have some other explanatory varia... |
Typically in genetic studies, sensitivity analyses are used to quantify how estimates of genetic effects are affected by adjusting for additional covariates $Z$. So we have separate regressions for a phenotype $Y$, covariates $X$, and $Z$, and variants $g_k$ indexed by $k$ like:
$$Y = X\beta_0 + g_k\gamma_{0,k} + \va... |
Let us assume that we have the following DGP:
$$
Y=X\beta+W\gamma+U
$$
The identifying assumption here is that $E\left(U'\mid W,X\right)=0.$ What does this assumption mean intuitively? Does it mean that no matter what the values of $W$ and $X,$ for each combination of $X$ and $W,$ the average unobsevables are all 0? Wh... |
In this experiment cows were fed with two different types of grass (Treatment) and we measured the weight gain over time, keeping track of the individual's ID. Sex of the individual was also taken into account. I used GLMM to analyze the data, using (1+Sampling | ID) to account for the repeated measure design.
Weight g... |
For simplicity's sake, let's suppose a binary classification problem, with a perfect 50% of probability for each of the classes, and a SkLearn's SVC model.
Let's assume that the classes in the vector Y cannot be predicted out of the values from the matrix X, because they are unrelated, but we don't know that. So we con... |
I have the following data (aggregated, user level data is not available).
date | platform | total_watch_time
platform = [mobile, mobile + desktop, mobile + desktop + tv]
I want to determine the total_watch_time that I can attribute to tv only.
The hard part is someone could co-view with a TV viewing e.g. 2 different us... |
Let's say I have a k-dimensional multivariate normal distribution $MVN(0,\Sigma)$. Denote random vector $X \sim MVN(0,\Sigma)$ as $X = (x_1, x_2, \dots, x_k)$. It is trivial to find $P(x_1 \leq c_1, x_2 \leq c_2, \dots, x_k \leq c_k$) (i.e. CDF) for some chosen $C = (c_1, c_2,\dots,c_k)$ using Monte Carlo methods (assu... |
I am having trouble interpreting the upper confidence interval for the odds ratio (OR) after executing Fisher's exact test in R.
I have the following contingency table which contains the response status of the subjects when given a new drug under study versus placebo:
trial_table <- matrix(c(11,5,12,19),2, 2,
dimn... |
I am conducting research in which I want to investigate the effect of tax incentives on research and development intensity in a group of firms. I have access to the data of a survey that:
It's only for one year. (It has a cross-sectional nature).
The companies were not chosen randomly, but those companies that
conduct... |
My idea is as follows.
The setting is that we have a population taking a survey after a social experiment. All of the test subjects are assumed to have interactions with each other in one way or another. There have been studies looking at how people herd towards the average of the whole population - however, I am looki... |
I want to write a model for my data on cell counts in specific brain regions. The multilevel structure of the data is as follows:
Measurements within subregions with axes within animal
Subregion and axis are categorical
The model I am trying to create is as follows:
a random intercept for axis (within animal) and a ... |
I am analyzing the effect of two randomized interventions on 1) first-time and, 2) second-time event attendance. All variables are binary (0 vs. 1). Second attendance was conditional on first attendance. A large percentage (~50%) of people did not show up for first attendance; an even smaller percentage of first-time a... |
Lets suppose I have a set of n covariates, and I want to test for the significance of the main effect of covariate i. I want to do this using a likelihood ratio test; fitting a model with covariate i included, and also a "base" model with covariate i not included.
My question is this: when doing the likelihood ratio te... |
I want to simulate/show the idea of confidence intervals but am not entirely sure if my approach is correct.
If I‘m not mistaken, a confidence interval can be understood as: if we would draw many samples, a certain proportion of these samples (e.g. 95% of them) would produce confidence intervals that encompass the true... |
I am working with a dataset of $\approx 10^7$ samples and $\approx 120$ features. All samples have a binary classification $0 - 1$. I am attempting to build a model that minimizes out-of-sample error with not much importance placed on inference. (More of a machine learning than classic statistics framework I guess). Un... |
I have a highly skewed binary response variable in my dataset. I am having issues finding a model that meets all assumptions for a binomial distribution GLM, and I believe this may be correlated to this skewed response. Should I use a resampling method?
|
I've recently been learning about the Nonlinear Iterative Partial Least Squares (NIPALS) algorithm for computing the principal components of a dataset. I am trying to code a NIPALS class from scratch in Python to get a more intuitive understanding of the algorithm:
class NIPALS:
def __init__(self):
"""
... |
In an effort to better understand multivariate normal distributions, I am attempting to derive the mean vector and covariance matrix of multivariate random vector defined by a mixture distribution. This is the scenario I have concocted:
I have two 2-dimensional multivariate normal random vectors, say $\mathbf{X} = (X_1... |
I am running a multiple-indicator growth curve model over 7 time points.
One of my items has a large residual variance and seems to covary very well among themselves.
Thus, I assumed that it has a state-like nature that is invariant over time so I
modeled it as a factor on its own.
So the path diagram would be kind of ... |
I have 5 groups of data, let's just say the income of people of 5 different tax brackets. Each group has 50 samples. I need to sample from these buckets without replacement so that the final distribution (Could be any number less than 250) is log-normal with a mean equal to the expected mean of all 250 samples. I don't... |
I've recently been working on Inhomogeneous Hidden Markov Model (IHMM) as defined in this article. In short, the whole idea distinguishing IHMM from typical HMM is that a transition matrix $A = \{a_{ij}\}$ is now time-variant, so $A(\tau) = \{a_{ij}(\tau)\}$.
Such change entails a reformulation of the forward variable... |
I'm quite new to mediation analysis and try to understand the results I get. I have a new online shop feature I tested in a randomized field experiment. The treated group sees the new feature and the control group does not see the new feature. I now estimated the effect of the new feature on the order value of all cust... |
Suppose $X$ is a random variable, $a>0$ is a constant. Prove that $\mathbb{E}\vert X \vert^{a}<\infty$ iff $\sum\limits_{n=1}^{\infty}n^{a-1}\mathbb{P}(\vert X \vert \geqslant n)<\infty$.
This is a exercise from Mathematical Statistics. Jun Shao. Second edition. EX1.54
For convenience, we suppose that $X$ is non-negati... |
I would like to design an a/b test for menu for a group restaurants, which cater to online users, seeing if there is any impact on sales and orders. But the constraint is that we can only serve one different menu per day for each restaurant. On a typical day, I have about 50-60 users ordering from each restaurant.
In s... |
As an example, let's say we have some financial time series such as closing prices of some stock and we would like to evaluate the ability of different models to forecast future closing prices as well as the ability of a different set of models to make decisions based off of these forecasts, e.g. whether to buy, hold, ... |
I have multiple time series representing a process that operates in batches. It consists of many small intervals interleaved by periodic long intervals (spikes) at the offset of each batch. The period between the spikes varies slightly.
Without knowing the period between spikes (i.e., the spikes are unlabeled), is ther... |
I am studying the factors that influence mosquito feeding behavior. In the experiments, N mosquitoes are exposed to a host for a duration t. At the end of this exposure, we count how many mosquitoes (k) fed. This is repeated across several hosts, but the duration of exposure varied. I want to incorporate the duration i... |
I understand that when data are nonnormal robust maximum likelihood estimator can be used.
I'm wondering are there any disadvantages of using a robust maximum likelihood estimator when the data are normally distributed?
The reason I ask is that I am running latent growth curve models separately for four cognitive outco... |
I want to compute the ensemble mean of the term: $\frac{Y^2}{X}$
Both $X$ and $Y$ are random variables that are not independent. I want to compute $E[\frac{Y^2}{X}]$. I proceed as follows, (Using the formula for splitting a RV into mean and fluctuation $A=E[A]+A'$)
$\frac{Y^2}{X}=\frac{(E[Y]+Y')^2}{E[X]+X'}=\frac{\left... |
I am interested in random walks with momentum in 1D, ie., random walks in which there is a certain probability $p$ to take a step in the same direction as the last step, and a probability $q = 1-p$ to take a step in the other direction (switch direction). In a previous thread, there was an outline proof that the distri... |
A Latent growth curve model with a time-invariant covariant can be specified with (at least) two ways, by using the multigroup model approach or the "regression approach".
By regression approach I mean regressing intercept and slope on the time-invarying covariate, and by multigroup model I mean running two models, one... |
I've been looking into ways to estimate uncertainty for regression tasks on neural networks. One of the obvious options is ensemble modeling. Consider an ensemble of neural networks that all have identical architecture. I would assume that the variation that comes from initialization and batch shuffling would be suffic... |
I'm trying to implement an MM-estimator in python. I have a working implementation of an M-estimator statsmodels.RLM - which is implemented as an iteratively re-weighted least squares algorithm. I am struggling to implement the initial S-estimator, my understanding is that an S-estimator is an M-estimator of scale how... |
I've been diving into segmentation tasks and came across two variations of the Dice Loss that I'm considering for my neural network: the standard Dice Loss and the Squared Dice Loss.
The Standard Dice Loss is formulated as:
$$ \text{Dice Coefficient} = \frac{2 \times \text{intersection} + \text{smooth}}{\text{sum of pr... |
I have two datasets from patients with different diseases, which contain multiple measures of regional brain function and performance on different memory tasks. The memory tasks used in each dataset were not exactly the same, but are meant to assess the same dimensions of memory. My goal is firstly to see which memory ... |
Suppose that I have the following Strauss Process up to a proportionality constant
$$p(\mu_{1}, \mu_{2},..., \mu_{K},K)\propto \xi^{K}\prod_{i=1}^{K} I(\mu_{i}\in R) *a^{\sum_{i,j}|\mu_{i}-\mu_{j}|<d} \tag{*}$$
where $\mu_{i}\in \mathbb{R}, a\in [0,1]$ and $\xi, d>0$. I know how to sample, and I acquired samples from t... |
I'm trying to implement an MM-estimator in python. I have a working implementation of an M-estimator statsmodels.RLM - which is implemented as an iteratively re-weighted least squares algorithm. I am struggling to implement the initial S-estimator, my understanding is that an S-estimator is an M-estimator of scale how... |
I have around 500 observations with a binary outcome at 25% prevalence and will be building an internally validated prediction model. I want to use splines to model non linearity in my continuous predictors.
This is a part of a theoretical exercise and so I’m trying a few different things but I am a little confused abo... |
Currently I have a dataset with an N of 3866 with two variables, Project (group variable, six levels) and Topbox (two levels; yes, no). We are looking to see if there is a difference in the proportion of 'Yes' responses between different projects (i.e., is there a significant difference between the project that has the... |
I'm trying to understand a claim that I've seen stated in a few different papers that when using IPW methods as the estimator for a causal estimand, the robust standard errors from the outcome model will be conservative. See the appendix of Cole et al. 2007 for an example of this claim.
See option 2 in this answer for ... |
I have some confusion regarding Measurement Uncertainty. In some books/articles it is defined wrt true value as "Uncertainty in the average of measurements is the range in which true value is most likely to fall , when there is no bias or systematic component of error is involved in measurement" but if we conduct a ve... |
From the CDF,I feel that the random variable here is continuous.So shouldn't the P(X=x) equals 0 here and we only need to find P(X>=1).
|
The confidence interval entry in Wikipedia lists a number of common misunderstandings about confidence intervals. One of these is described as follows:
A confidence interval is not a definitive range of plausible values for the sample parameter, though it is often heuristically taken as a range of plausible values.
D... |
Overview: In my model building process, I fit both GLMs and GLMMs. I noticed that the GLMs suggested overdispersion in the data, while the GLMMs suggested underdispersion. How can I make sense of this, and what are reasonable next steps for further model assessment and fitting?
I have been working on fitting a model to... |
I was reading through the DNABERT paper and found that their input features were k-mers. This is equivalent to using rolling/sliding window features in the other common family of sequential problem, time series. I have seen this be done, but is there any theory explaining why this can be beneficial?
Why would I give a ... |
I was interested in doing a Principal Component analysis but returning a Principal Component on the scale of the original variables. Principal component analysis in R defaults to scaling and centering, and so I thought that if I set scale and center to False, that it would return a Principal Component on the scale of t... |
I am studying a dataset of time series for different users. The dataset contains records of actions (or registrations) of the users over time. I have data of a whole week for about 80,000 users.
Objective
At the moment, I'm concerned about the count of registrations over time. My objective right now is to study the 'pa... |
This might be a super simple question but I cant seem to find an answer. The issue I am comparing 2 shoes at 3 speeds and their impact on a dependant variable. Therefore lets say shoe1/speed1 = A; shoe2/speed1 = B; shoe1/speed2 = C; shoe2/speed2 = D; shoe1/speed3 = E; shoe2/speed3 =F. Now i am comparing shoe vs shoe at... |
The likelihood of observing the dataset we have (for some mean and variance) can be written as the product of the likelihood of observing each data point (since all the rows are independent). Now, using MLE we will be finding the mean and variance that maximize the likelihood of observing the data. For every value we p... |
Suppose I have the following expressions, where $X_1$,$X_2$,$Y$,$Z_1$,$Z_2$ are all random variables.
$$X_1^2 = B_1 Y + B_{Z_1} Z_1$$
$$X_2^2 = B_2 Y + B_{Z_2} Z_2$$
I'm interested in $Cov(X_1,X_2)$.
If I didn't have the square in the initial equations, you could use linearity and break it down into weighted products o... |
On an assignment I've been tasked with finding whether
$$\hat{\beta}_1=\frac{\sum_{i=1}^n x_iy_i}{\sum_{i=1}^n x_i^2},$$
the estimator for the slope of a no-intercept regression model $Y_i=\beta_1 X_i+\epsilon_i$, is unbiased. I'm not sure how this is done. I would like to use the traditional expected value definition ... |
So I want to compare whether using human scoring or using modelling of avian vision for scoring significantly affects the correlation between rummage brightness and altitude. To do this, I am running phylogenetic generalised least square models (PGLS) to see the relation between both of these score types and altitude f... |
I am confused about which one to use for, say testing $ H_0: \beta_1 = \beta_2 $. The F-test for comparison of residual sum of squares can be used here, as can things like adjusted $R^2$, AIC/BIC or Mallows'
$C_p$. So which one should I use? Or is there some better method that I am missing here?
|
I am working with data on cuteness judgements and size judgments for differently named fantasy creatures. The interesting part of the different names are the vowels contained in them.
The question I am fitting a GAM for is: Do the effects of cuteness and vowel interact when it comes to size judgements?
Thus far, my mod... |
I have done my thesis on forecasting problem in advertisment industry. However, it resulted that the prediction accuracy for traditional econometric models (Lasso, Ridge) showed the better results rather than ML models. The reason that we came up is the number of observations. I have 169 observations.
Now I want to inv... |
I want to investigate the correlation of $N$ and $G$ with $X$. In a correlation matrix, $N$ and $G$ are both positively correlated with $X$. $N$ and $G$ are correlated, too, by the way. In a multiple regression however, $G$ was a significant predictor for $X$, while $N$ was not.
Can somebody help me to interpret this?... |
I want to test the connection between N,G and the Interaction of NxG to Y for an assignment. My task is to first do an multiple Regression with N+G and then integrate the interaction of both in a second Model. Would this be considered "Hierachical Regression" or is this just testing multiple Models and more "usual mult... |
I'm developing a probit model to predict the partial effect of independent variables on the expected probability of my dependent variable being one (that is the event that a strong growth in GDP occurs). Does it make sense to regress the binary dependent variable on an average growth rate of an independent variable, $g... |
I am working with a very large dataset that essentially covers the entire population of interest. I want to assess the linearity assumption between an independent variable and the log(odds) of the dependent variable in logistic regression.
There are different ways to check this assumption, with a typical method being ... |
I'm evaluating disentanglement in toy datasets seeing as we have such little understanding of the phenomena. I'm using various tools from differential geometry. Now I want to train a VAE on the following dataset:
class Radial(Dataset):
def __init__(self, num_samples=1000, num_radii=5, num_angles=8, r_noise=0.0, ang... |
Multiple papers and online texts start from the position that decision tree overfitting can be taken for granted.
I am not here to dispute this. However, the claim of decision tree overfitting is often uncited.
Therefore, I wondered if there was a central reference for this to justify this universal claim, or if it is ... |
I was reading this answer, where it is explained that the externally studentized residual $$t_i = \frac{e_i}{\hat\sigma_{(i)}\sqrt{1 - h_i}} = \frac{\frac{e_i}{\sigma\sqrt{1 - h_i}}}{\sqrt{\frac{e_{(i)}^Te_{(i)}}{\sigma^2(n-p-1)}}}$$ follows a t-distribution with $(n-1-p)$ degrees of freedom.
I understand why $$\frac{... |
So basically I’ve been taught that in a linear regression model the parameters alpha and beta cannot be squared when defining the equation of our model, does this also apply for the error term (epsilon) or only for the parameters?
|
I have 2 datasets of sibling pairs: one from divorced parents and one from married parents). Each pair has a unique "family" value. For this research question, it does not matter what order the siblings come in. I want to see how similar are sibling1's ratings to sibling2's ratings for the "divorced parents" groups com... |
I was thinking about studying bounds on the multivariate empirical cumulative distribution function for samples from an MCMC chains. The multivariate Dvoretzky–Kiefer–Wolfowitz inequality would seem almost fit for this purpose except it assumes IID samples whereas my samples will be Markovian.
I think that any differen... |
This might a simple question answered elsewhere, but it comes up often in NHST discussions and I've heard conflicting statements. Imagine a metanalysis of 50 trials on 100,000 patients total to examine the question of whether vitamin supplementation lowers all-cause mortality, with the primary outcome being deaths in e... |
Part 1
Say there is a county (or state) that in each of the past 20 elections was 5% more (Blue, or Red) than another county or state.
What is the probability that it would have the same 5% variant in the next election?
Part 2
Say there are multiple such scenarios (say 10). What is the possibility of all occurring? Or,... |
I have been trying to use the LSTM model for a monthly time series with a length of 404 (384 for training and 20 for test). I created 4 pairs of training/validation sets, trained different models, and chose the model that performed the best on the validation sets. The selected model was constructed on the training set ... |
I have 66 features. What does it mean if 5 or so features are highly autocorrelated (.99 at lag = 1) with themselves but my output variable itself is not autocorrelated? Can I consider these subset of features to be irrelevant, and discard them?
|
I want to investigate the correlation of $A$ and $B$ on $X$, so i do a multiple linear Regression. On their own $A$ and $B$ are significant predictors of $X$ in a simple linear regression.
When i test a multiple linear regression with with $A$ and $B$ as Predictors, only $B$ is a significant Predictor. I thought this i... |
This is just for curiosity's sake, but I found this problem, and I don’t know how to solve it. This is not the regular Monty Hall Problem!
You're a participant in yet another version of Let's Make a Deal! Each competitor must select from three doors to discover a reward. The reward is placed behind one of the three doo... |
For context, I am currently enrolled in a Quantitative Analysis course for chemistry at my university. We've been focusing on errors and statistical analysis to determine whether the random error is significant. We performed a lab experiment where each student weighed 15 pennies, so we have a total of about 255 pennies... |
I've hit a small snag in working out some of the implications of the residual maker matrix $M$.
Through previous posts I've been able to understand the difference between the use of $e$ and $\epsilon$, however there is still something I don't understand. We have the residual maker matrix, $M = I-X(X'X)^{-1}X'$, and we ... |
I have obtained an unnormalized probability density function (pdf) for the coefficients of a linear regression model:
$$
f(\boldsymbol{\beta})\propto \mathrm{det}\left [\sum_{i=1}^{N}
(\boldsymbol{y}_i-\boldsymbol{X}_i\boldsymbol{\beta})
(\boldsymbol{y}_i-\boldsymbol{X}_i\boldsymbol{\beta})^\top \right ]^{-\frac{N}{2}}... |
RMSE is an error metric in which the mean of the data minimizes its loss function:
$\text{RMSE} = \sqrt{\frac{\sum_{t=1}^{n}(y_t - \hat{y_t})^2}{n}}$
But it gives the error in the unit of the data.
In order to have a percentage RMSE different alternatives exist:
RMSE / $\text{max}(y_t)$
RMSE / $\text{mean}(y_t)$
RMSE ... |
In many papers on machine learning and statistics, I encounter the following notation
Let $P$ be a distribution, and let $Q$ be another distribution.
Then the author creates an object $P \times Q$
However, this object is not defined.
It is not known if $\times$ means the usual product, cross product, cartesian product,... |
I have data that is somehow truncated. It is a list of log best performances from events, where different events have different cutoff times.
How could it be possible to find the unknown mean and unknown variance of the true normal distribution? I suppose as a start I would need to use a sample unaffected by the cutoff... |
In their book on multilevel analysis Hox et al. (2017) write in chapter 13:
'The main assumptions are [...] (multivariate) normality for dependent variables, which is the focus of the current chapter.'
They then continue about how to detect non-normality of the residuals, heteroscedasticity, etc. What they don't talk a... |
Can we expect that the two q tables converge together? which means that abs(Q1-Q2).max() converge to zero, Can we say that?
|
Assume we are solving a $k$-class classification problem, $k \geq 2$, and we have a trained classifier $\phi$ from a family of generative or discriminative classifiers $\Phi$
minimizing an objective $\ell$. On a held-out set or via cross-validation, it produces a classification report $R$ consisting of one or more eval... |
I have an analysis project and I am not quite sure about my analysis plan.
The data context are about the treatment effect with confounding variables is well-established. But it have many dependent variable and I find hard to do.
Theses are requirements to perform
I must do propensity score matching.
Some variables ar... |
I have a question about using ratios as variables in alpine ski racing research. We want to compare skiers' performance on different days, but snow conditions affect the results. To address this, we normalized performance when skiers ski straight down without turns. However, this normalization centers scores around 0.5... |
I'm doing a regression analysis to understand the relationship between disease severity (Severity) and viral load (VL). The VL data were collected on different days after symptom onset in different patients, and I know that VL is highly correlated with the number of days between symptom onset and sample collection (DAY... |
This question is based slightly on https://www.reddit.com/r/AskStatistics/comments/16bqit0/calculating_probability_when_phacking_is_allowed/
Given a variable $X$, let $A_j$ be the average of $X_1$ through $X_j$, and consider the maximum $M(k,n)$ of the averages $A_k$ through $A_n$. What is the distribution of $M(k,n)$,... |
I'm trying to complete an exercise in R related to Monte Carlo estimation for the shortest path in the bridge network problem. The exercise asks me to first perform the estimation using the plain Monte Carlo method by generating the variable according to an exponential distribution, and I don't have any issues with tha... |
Consider this residuals vs. fitted values plot:
Would you say this have no problems and I can go on the linear regression? I am interpreting this as heteroscedasticity and with that should not go further, what do you think?
|
I am new to this. For a project, I am trying to find a relation between 5 independent variables on one dependent variable. I am specifically looking to find intricate relation between how user violation (of different natures) affect the traffic flow. I want to use neural network to find the relationships but I fear th... |
I'm looking for a method to detect false observations inside the hough transformation space, even called line detection algorithm.
The hough space can be described as this
X-axis is radius and Y-axis is the angle of the equation
$$xsin(\theta) + ycos(\theta) = \rho$$
Which is the straight line equation, but expressed ... |
Goal
Develop a model for theoretical best performance for running distances from marathon to around 1000 km. Partly to compare the strength of ultrarunning world records, but more importantly, to get base values for prior estimates in a Bayesian rating model.
Method
Calculate the velocity of the theoretical best perfor... |
I am trying to understand the code from pybasicbayes, which defines the following function to sample from an inverse Wishart:
def sample_invwishart(S,nu):
n = S.shape[0]
chol = np.linalg.cholesky(S)
x = np.random.randn(nu,n)
R = np.linalg.qr(x,'r')
T = scipy.linalg.solve_triangular(R.T,chol.T,lower=... |
Imagine you have a single axis. Along the axis are placed several target points, at differing distances between each other.
You now have a black box that shoots a variable number of points on to the axis, with the goal of hitting as close as possible, with the minimal number of shots. The number of shots is not determi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.