instruction
stringlengths
9
38.7k
I'm reading "Power-Law Distributions in Empirical Data": https://arxiv.org/pdf/0706.1062.pdf. The authors make the claim that "In some cases the distributions we wish to compare may be nested, meaning that one family of distributions is a subset of the other. The power law and the power law with exponential cutoff in T...
What is Bayesian Melding and when does it outperform the simpler Bayesian approach? Also, some intuition before delving into it would be greatly appreciated
Michael Lewis contends that for families with 6 children, the birth order BGBBBB is equally likely as GBGBBG. Setting aside the sequence, how is possible that in a pool of 50:50 B:G a random sample of 5:1 is just as likely as 3:3?
I have seen people have put a lot of efforts on SVM and Kernels, and they look pretty interesting as a starter in Machine Learning. But if we expect that almost-always we could find outperforming solution in terms of (deep) Neural Network, what is the meaning of trying other methods in this era? Here is my constraint o...
I'm writing a simple C program that calculates the cross-correlation between two data sets. Although I've done a good search on how the calculation should be performed, I couldn't figure out some important details. I'm particularly concerned about the average calculation. It seems that some algorithms utilize the avera...
On a diet analysis kick here but not very knowledgeable about stats. I'm wanting to track what I eat correlates to then how I feel. So, my plan is to track everything I eat and also how I feel. So, my data will look like longer versions of this : rice : 2/9/2017, 2/11/2017, 2/20/2017.... wheat : .... fruit : .... And ...
I'm following the Introduction to the "Statistical Learning" book, but I do the exercises in Python. In the lab 4 where we work on stock data, after the end results are known and the model is created with corresponding metrics calculated, authors say: The confusion matrix shows that on days when logistic regression ...
I could not find a good answer/reference that can explain why rf/decision trees/gbm are not susceptible to the scale of values of numerical variables. My sense is that since boosting methods penalize more if the error is large so they should certainly be susceptible to scale of the feature variables. I have a dataset...
I'm trying to understand the NAF described on page 4 of https://arxiv.org/pdf/1603.00748.pdf (the left column). Mostly I want to understand Why is L a lower-triangular matrix Why do we exponentiate the diagonal terms How do we guarantee that A will be positive? If L has negative terms isn't it possible for A to be ne...
Today I read that Importance Sampling can be used to draw posterior distribution samples just like Rejection Sampling. However, my understanding of Importance Sampling is that its main purpose is to just compute expectations (ie. integrals) that would otherwise be hard to compute. How can Importance Sampling be used to...
I am conducting an event study, and I am trying to use dummy variables in my AR(4) model for stock returns to observe any abnormal returns. Each dummy takes a value of 1 for one specific day, zero otherwise. I have specified an AR(4) model for my series, and added 20 dummies, corresponding to -10 and +10 days to the ev...
I got an answer on a Stats test wrong and I can't wrap my head around this. The solutions provided by the teacher: https://i.stack.imgur.com/MxNXN.jpg states that there is 50% probability of getting at least two tails out of three flips of a coin while the probability of getting at most one tail is 25%. I can't visua...
Can you direct me to or provide an example that shows how to do a multiple linear regression analysis manually ? I am very familiar with simple linear regression, and can perform a simple linear regression without the use of a statistics package. However I cannot do the same thing for multiple linear regression, and i...
Consider the setting of binary classification using soft-margin SVM. \begin{align*} \min_{w,b,\xi} ~~ &\lambda ||w||^2 + \sum_{i=1}^m \xi_i \\ \text{s.t. } \quad &y_i(w\cdot x_i + b) \geq 1 - \xi_i ~~ \forall i = 1,\ldots, m \\ &\xi_i \geq 0~~ \forall i = 1,\ldots, m \end{align*} Can anybody give pointers to show that...
Consider the transition matrix: $\begin{bmatrix} \frac{1}{5} & \frac{4}{5} & 0 & 0 & 0 \\ \frac{1}{2} & \frac{1}{2} & 0 & 0 & 0 \\ \frac{1}{5} & \frac{1}{5} & \frac{1}{5} & \frac{1}{5} & \frac{1}{5} \\ 0 & \frac{1}{3} & \frac{1}{3} & \frac{1}{3} & 0 \\ 0 & 0 & 0 & 0 & 1 \end{bmatrix}$ What is the expected long run pro...
I am working on bug classification using classifiers but facing some confusion regarding methods to compute measures that capture the predictive power of classifiers. I am running repeated cross-validation, i.e., N x K-CV. (In each of the N runs, the dataset is randomly distributed in the K bins.) When N=1, the paper F...
I'm wondering whether it's necessary to use one-hot if a feature has only two values but not {0,1}. I'm also wondering whether there is a good way to reduce the number of features after one-hot. Is PCA a good method?
I have this huge data set with like 2500 variables and like 142 observations. I want to run a correlation between Variable X and the rest of the variables. But for many columns, there are entries missing. I tried to do this in R using "pairwise-complete" argument (use=pairwise.complete.obs) and it outputted a bunch o...
Here's my situation: Response variable: 0/1 Alive/Dead Bernoulli data Predictor 1: Categorical (Brand of drug) Predictor 2: Continuous (Dose of drug) I want to run a logistic regression to test whether there's an effect of Predictor 1 on the response. However, I wasn't able to control the dose of the drugs that were i...
Please explain why. This is a general question so it is okay to give a general answer. I would use both classifiers on the exact same data set. Would I be able to recreate exact same classification?
I am doing weighted linear regression (W-OLS) with and without standardization (centering and scaling). The results are not identical and in many cases normalization is making the results worse. Can you please help me to figure out why this is happening? I suppose, normalization should not hurt. Is there any better way...
Suppose a linear model $$Y_i=\beta_0+x_{i1}\beta_1+\ldots+x_{ip}\beta_p+e_i,\quad e_i\sim N(0,\sigma^2),\quad i=1,\ldots,n,$$ and its hat matrix $P=X(X^TX)^{-1}X^T$, where $Y=X\beta+e$. Let $\bar{x}_{i\cdot}=(1/p)\sum_{j=1}^p x_{ij}$. Then we can write a new linear model: $$Y_i=\gamma_0+(x_{i1}-\bar{x}_{i\cdot})\gamma...
I'm trying to use Cook's Distance in order to detect outliers in high-dimensional datasets. However, I've found some troubles in order to do such thing. Usually, once I've built the linear model and compute Cook's Distance, all I get is a vector full of NaN values. I've created a fictional example to show my problem. s...
I have an indicator which oscillates between -50 and +50 values. Then I have to set a optimal signal value to go long or short. I've thought in something like this: if (indicator > ((50 / indicator.mean()) * 1.25)) and (isIncreasing(indicator) == True): # go long! elif (indicator < ((-50 / indicator.mean()) * 0.75)...
Simply I have a function which looks like this: $$\lambda =\lambda_0 \cdot \exp(-T_0/T)\;,$$, where $\lambda_0$ and $T_0$ are unknown constants. By appplying to both sides ln() I get : $$\ln(\lambda)=\ln(\lambda_0)-T_0(1/T)$$ It's of form $y=b+a/x$. The question is how can I apply linear regression formulae? Maybe sma...
My student made the interesting problem and asked me how to solve it. I believe the Bayesian approach is promising, and got a kind of solution. But, I'm not confident of my solution because it's too complicated considering the simpleness of the problem. There are two questions: Is this problem equivalent some famous o...
I have a problem where I am aware that data is well-modeled by a Zeta distribution such as $P(X=x) = x^{-a}/\zeta(a)$, and would like to learn the Zeta distribution parameter $a$ from the data. More explicitely, I would like to turn the knowledge of the mean $\mu$ of the distribution that I obtained from data, to the k...
I'm trying to understand neural network weight initialization but i need help to decipher the language people use to describe fan-in. "N (where n is the number of the neurons inputs)"... or this definition... fan-in (the number of connections feeding into the node)", however in the Xavier Glorot paper http://machinelea...
Beta distribution appears under two parametrizations (or here) $$ f(x) \propto x^{\alpha} (1-x)^{\beta} \tag{1} $$ or the one that seems to be used more commonly $$ f(x) \propto x^{\alpha-1} (1-x)^{\beta-1} \tag{2} $$ But why exactly is there "$-1$" in the second formula? The first formulation intuitively seem to more ...
What are the mathematical steps to get loadings and scores matrices of a 3x3 matrix basing of PCA and what is the relationship relating eigenvalues eigenvectors with loadings and score?
In a machine learning or data mining problem, suppose I have a original feature named "Gender", and now I want to convert this feature to numeric feature, there are two ways to do that, but I realy do not know which one is better? Convert to one feature, and 1 represented 'male' and 0 represented 'female' Convert to t...
If I have two sets of exponentially distributed random numbers with mean parameters μ1 and μ2, what is the distribution of one set divided by the other? I did this in matlab analtyically and the resulting distribution (histogram) 'looks' lognormal, seemingly regardless of the respective means. Numbers do not pass a KS/...
I estimate a linear regression model and compute the variance of residuals in both the training-set and also on an additional test set. Ideally these should not be very different. Does it make sense to test if these are significantly different or not? Are there any significance tests for this?
I have a data set with the start and end date of different financial products, such as accounts, loans, debet and credit cards, etc. I am tying to predict purchase of a given product. This data allows me to make variable such as time since purchace of any of the other products, as well as time since a product was ended...
My interpretation of the usual Logistic regression is that it maximizes the Likelihood of the data given the parameters. I.e., given responses $Y_j$ and random variables $X_{ij}$, it maximizes the likelihood that the data is generated from $$Y_j = 1 \ \quad \text{if}\quad \ \epsilon + \sum_i \beta_i X_{ij} > 0, \quad ...
I am trying to create a Deep Belief Network (DBF) for a binary classification problem. The nolearn package provides a good library for implementing them. I see that there are very many parameters to learn and tune a DBF. The possible list of parameters are: The number of hidden layers and the number of neurons in eac...
I would like to look at survival in time to event data. So individuals either have an event, or are censored. My problem is the sensitivity for detecting an event differs between arms. I.e. in the intervention, 10% of the events are mislabeled as a censor. In the control, 15%. I do not know the true sensitivity and spe...
I am trying to fit a recurrent neural network for a binary classification problem using the 'keras' library (https://keras.io/layers/recurrent/). Now these networks have many parameters to tune. LSTM keras.layers.recurrent.LSTM(output_dim, init='glorot_uniform', inner_init='orthogonal', forget_bias_init='one', activ...
As stated in the title, I'm working on a convolutional auto encoder with RGB images, and wondering whether the loss function should be MSE, binary cross entropy, or even custom ? Thanks
I have some data on a drug where doctors are trying to find out based on collected data how many patients get heart disease because of a drug. The output is the following: 95%CI 1.72(1.28-2.30) for the patients are taking this drug 95%CI 1.30(1.21-1.40) for the patients which are not taking the drug Therefore we concl...
I am performing my experiment which I have three independet experiments with three replicates each (9 samples in total) for each group (infected and mock). For the statistical analysis, should I use all these 9 values or the average value of each experiment (3 values only). I want to aplly non parametric test (mann-whi...
Is it right to say that when I increment the C parameter in a SVM, I am incrementing the number of support vectors needed? Where does this relation come from ? Premise: I have understood the influence of C about the bias and variance tradeoff, but I can't imagine how this parameter influence the number of support vecto...
I am using this paper Finding Semantic Orientation of Reviews to determine semantic orientation between a phrase and a list of words using pointwize mutual information. For example : PMI(phrase, {"excellent", "Good"}). My question is should I compute PMI for every word composing the phrase or using the phrase as a gl...
I've measured the distance between 100 brain regions and 5 "core" brain regions. This led me to a 100x5 matrix (A) of empirical distances. Now, I have a second 100x5 matrix (B), where the distances are predicted, but rows are not ordered. I want to assign each row of B to each row of A, using the similarities between p...
I have 7 groups, one healthy group and 6 treatment groups and 5 traits. I would like to test for each trait if there are any significant difference between each treatment group and healthy group. Would it be more appropriate to perform a T-test for each trait or ANOVA? In case T-test is the answer, should I consider ad...
I've seen two formulas for estimating a sample size proportion, the first one: s = 1.96^2 * p * (1-p) / MOE^2 Where: 1.96 is the Z score for getting a 95% confidence interval. p is the estimated proportion (0.5 if unknown) MOE is the margin of error (0.05) This formula is independent from the total population. There...
I have 22 variables with more than 6000 observations. They are highly correlated. I know these data would work as great explanatory variables to a dichotomous event (present absent). Therefore, I intend to combine them via binary logistic regression and, so to avoid multicolinearity, I thought of "orthogonalizing" the ...
I am drawing a sample Y of size n from a p-dimensional Normal ($\mu, \Sigma$). Typically, p is 5. I have $\bar{Y}$ and $V = YY'$, the sum of squares. Now I want to draw samples from this $\bar{Y}$, given V. The density of $\bar{Y}$ given V is proportional to $det(v - n \bar{y} \bar{y}')^{(n - p - 2)/2}$ with support$ \...
I have a matrix of samples to classify, samples are matrix columns and features (noisy or estimated features) are matrix rows. On the other hand, I have a lookup table for correspondence between noisless (or theoritical values of) features and classes. Classification process is very simple: for each sample, correspondi...
I did two experiments, with component A and component B respectively, and the outcome that I have is "mass loss" for those two components. Now, there is a third experiment where both components are used together and there is a combined mass loss. Lets call it C. I'm trying to perform stats to see if the A+B is greater ...
I have a small hypothetical dataset(D1) with X unique subjects that contains data on the smoking habits of the subjects, their age, gender, etc. and whether they have cancer or not. Let's assume all subjects did not have cancer. In another dataset(D2) I have data on 0.5*X subjects from the first study, with the same da...
I have been looking through questions regarding categorical feature encoding, but couldn't find any which discuss my problem. Apologies if I missed it. Let's say we have a dataset with binary and nominal variables of roughly equal importance each. Most classifiers cannot deal with categorical types directly, so these ...
I have a set of point features that span the African continent. Some are clustered and show positive autocorrelation in a various measured ecological characteristics at scales of less than ~150km. Others are up to 900km from the nearest neighbor and are (predictably) not autocorrelated with their nearest neighbors. I w...
I've been using two different packages in R that work very well, but I wanted to know if there is a way to use them simultaneous. I have datasets that should behave as non-linear function, dependent on some parameters and initial conditions. Given that both linear and non-linear fitting are very strongly affected by ou...
I am setting up a binary classification problem where if a trade is profitable it gets a 1, and if it is unprofitable, it gets a 0. I have some independent variables, one of which is price_of_security. I have the dependent variable of trade_profit. I have data on about 20,000 such trades. I train a neural network on th...
I have been dealing with multivariate meta analysis lately. In the literature the various authors say that the main assumption of the MVMA is that the different variables are Multivariately distributed. I understand that. However I don't understand how that assumption is stronger than the assumption that the different ...
As a complement to this answer for those not familiar with martingales. What is the expected number of keystrokes (or "time") it would take a monkey to type the string $\small \text{ABRACADABRA}$? Step-by-step intuitive solution light on math assumptions and notation. To further clarify the problem, here is a quote ...
I am trying to forecast a seasonal series with 30 regressors using auto.arima. I have several questions regarding the correct methodology that I need to pursue. 1) Should I fit auto.arima with all available regressors and pick those regressors with significant t-statistics? 2) Should I fit regressors one by one (and a...
I have a wide panel with multiple decades of T. In my habit formation model, my dependent variable is alcohol consumption, and the coefficients of interest are on past and future consumption. My problem is while I have alcohol prices/taxes by US states but my panel only classifies individuals by the four regions, givi...
I have an ordered set of data, X, that I want to split into a 10 random groups to do 10-fold cross validation. The data set is very simple with one feature per row. I am wondering if it is random/accepted practice in Machine Learning to split the data into the ten groups by iterating over the data placing the data into...
My sample size is 550, and I build a regression model with 80 features. In particular, I am using LASSO and ridge regression with 5-fold leave one-out cross-validation. To evaluate the models, I am using correlation (between the predicted and actual value) and mean absolute error (MAE). The correlation I obtain is arou...
I am trying to understand some chemical concentration data I have measured. I am taking the log of the ratio of two concentrations. The ratio itself is from oscillating timeseries data and is the (local maxima in conc):(local minima in conc). I then take the log of this ratio. When I do this and plot the distributio...
Mixture models lend themselves nicely to HMM (hidden Markov model) treatment. Obviously, HMM can be nonmixture or not resolve mixtures when there is only one resolvable input or the superposition of self-similar inputs. What I am asking for is whether or not there are any not so trivial examples of nonmixture HMM data,...
Problem: Given an arrangement of spheres of varying radii in a fixed domain , I am trying to simulate an arrangement of spheres in a domain of arbitrary size having the same statistics. The radii of the spheres are spatially correlated and the correlation function of the sphere radii is homogeneous A naive approach I a...
I am studying the negative binomial distribution and it seems it models overdispersion in a poisson process using a gamma distribution (a mixture or something, but I may be wrong). In parallel, I am studying about Bayesian inference and it caught my attention that when modelling a Poisson process the prior is drawn fro...
Say I have a stream of values $\langle s_1, s_2,\ldots\rangle$ coming in and a function $$E_{s_1:s_n}(t) = E_{s_1:s_{n-1}}(t-1) + \alpha\cdot (s_t-E_{s_1:s_{n-1}}(t-1))$$ that compute their exponential moving average as the values flow in. I would like the alpha, i.e the decay rate, to adjust dynamically as a function...
I have the two following regression: $$y=X_1\beta_1+\varepsilon_1$$ and $$y=X_2\beta_2+\varepsilon_2$$ $x_1$ and $x_2$ are indicator variables and very similar. One expert claim that the two coefficients are the same. I want to know what kind of test I can perform to see if $β_1=β_2$.
I have a single percepton with sigmoid activation $y = f[\sum_{i=0}^{n}(x_i \cdot w_i)]$, where $f$ is a sigmoidal activation function. Is there a way to drop some of the inputs (or set their weigths to zero), readjust remaining weights without sacrificing model's performance? L2/L1 norm regularization helps with minim...
I'm looking for a statistical test to compare two set of ratios. For example A = [(2,13), (10,50), (23, 86), (33, 133)] B = [(6,10), (21,33), (30,62), (44,80)] Where A, B are sets of tuples that represent proportions p,q. Any clue guys? Cheers, G
This source on feature visualization asserts that the input vector $X$, such that $\|X\|_2 \leq 1$, which maximally activates a sparse autoencoder's $i$th hidden unit is of the form $$X_j = \frac{W^{(1)}_{ij}}{\sqrt{\sum_{j=1} (W^{(1)}_{ij})^2}},$$ where $W^{(1)}_{i}$ are the weights that the $i$th hidden unit depends ...
I am running Quasi-Poisson generalized linear models (overdispersed data) on my count data, and plotting data and the fitted model with ggplot. My data with DPUT: structure(list(YR = c(1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, ...
I am working on a multiple regression analysis and want to compare two models. I was asked to conduct a change in R square test and interpret. How can I do that? Thanks in advance.
I have a dataset that contains 99.95% 0's and 0.05% 1's as the target. The dataset contains million rows. I want to build a binary classification model that predicts almost all the 1's correctly while keeping the false positives at minimum. I have read it somewhere that AUC-PRC is a better metric for the above scenario...
I understand that fixed vs. random effects have different meaning whether it be in biostatistics or econometrics. I recently came across a talk regarding fixed vs. random effects in the hierarchical setting, where the lecture slide is below: The slide details $14$ different cancer treatment studies, indexed by $s$, wi...
I am trying to estimate ARMA-GARCH model for my stock returns time series. I have estimated ARMA model for my series, and found that there exists ARCH, so added GARCH(1,1) term. However I now find previously significant ARMA coefficients being insignificant. In this case, should I remove the insignificant ARMA terms? I...
From: Interpreting Residual and Null Deviance in GLM R we see that the residual and null deviances are calculated from the baseline log-likelihood value given by the saturated model. It also notes that the smaller these deviances are, the better the fit the model is to the data. However, this effect can also be attain...
I have a large amount of data that was collected by "convenience sampling," (i.e. it is not "nationally representative."). As such, there may be sampling bias in the statistics calculated from these data. Could I subsample it so that the sample distribution matches, say, the population distribution (as determined by ...
I want to compute only the first principal component's scores $t_1$ of a large number $n$ of data points x with a high dimensionality $p$. Assume the data has been centered about zero. Data points are stacked into a matrix $X$ with $n$ rows and $p$ columns. What is the fastest way to do it? In fact, I am only inter...
So I have a set of 50 questions that take three types of answers: x, y, z. I will give the questions to 10 individuals and ask for their independent replies. I want to pick those six individuals that correlate the most. How do I do that?
How much is overfitting? For example, results on seen data is between 1 to 15% better than unseen data. Is there a range of value for example 2% where it is considered normal and not overfitting? Also, Is there different range of value for different application? For example, maybe in information retrieval, 1 to 10% is ...
I want to use meta-analysis on a number of variables, including percentages (like percent nitrogen) and ratios (like ratio of carbon to nitrogen). I'm estimating mean effect sizes using meta-analysis (fixed effects) of log response ratios following Hedges (1999): $$L = ln(R) = ln(\bar{X}_{E})- ln(\bar{X}_{C})$$ Varian...
I recently read a book that illustrated the difference between a fixed effects and a random effects model. It claimed the following: Let $k = 1, \ldots, K$ and $\hat{\theta}_k$ be our treatment effect estimate from the $k$th study. Let $\theta$ be the treatment effect for the population, which is what we want to estima...
I am trying to understand the confidence interval for linear regression parameters. At this link Derive Variance of regression coefficient in simple linear regression an answer is provided. However, I did not understand in the derivation fully. Do we consider the regression parameters as random variables? That is what...
I need some documentation to code the following regressions procedures: Forward - backward stepwise selection Ridge regression The Lasso Principal components regression Partial least squares I am doing some abstract about linear methods for regression and I want to code by myself this methods in R to be able to under...
The following are some performance results that I got from the currently trained model on both the training and validation data sets. There are 3 classes with imbalanced training samples. I use the sklearn.metrics to compute the metrics with average='weighted'. And the following are the ROC curves (the first is from t...
I need to visualize very large time series data. I want to do something similar to one shown here: Zoomdata (that's where I got the term 'data sharpening'). Data example: every minute temperature data from thermostat. I want to do web based viz and I think it should be pretty easy if I can get right kind of data from b...
I am trying to predict sales of certain product using regression method. I am using XGboost and using MAPE as final metric for comparison between models. I added a new feature to my existing model and this feature came out to be highly important ( within top 3). But there is no significant change in the final metric MA...
The model is $$y_{it} = \delta_0d2_t + \delta_1 crm_{it} + (\alpha_i+u_{it})$$ Here the intercept is placed in the error term. Therefore if $\alpha_i$ is correlated with an independent variable would cause bias problems. What are the consequences of dropping $\alpha_i$? Why is it important to keep it? Why do we dele...
I was looking at a youtube video for Maximum Likelihood Estimation. The lecturer said Maximum Likelihood Estimation doesn't have any representation of uncertainty, which I didn't really get. Can somebody explain what it means?
Is it possible to find the Fisher Information matrix of the two parameter (scale and location) exponential distribution? Any hint?
I am currently reading into online convex optimization. Can someone please explain me what exactly is a leader in the Follow-The-Leader algorithm and its variants? Why is it called Follow-The-Leader?
If I have two processees $x_{1}$ and $x_{2}$, what distribution(s) would they need to have in order for $x_{1} + x_{2}$ to be uniformly distributed?
I am fitting log log models (e.g. video link or non video link) like these (very much simplified): log(y) = intercept + parameter * log(x); I have a few rows were y = 0. Just wondering what to do with those rows? Should I simple impute a small value (e.g. 0.1)?
I want to estimate 95% C.I. for RMSE(Root mean square error). However, i have a difficulty in estimating C.I. due to RMSE equation (there is a root in RMSE equation)
I'm training how to use auto.arima in here. But this is my results: DJI.data = get.hist.quote(instrument="^DJI", start="2010-01-01", end="2015-07-23", quote="AdjClose", provider="yahoo", compression="d", retclass="zoo") plot(DJI.data, main = "DJIE Closing Prices on NASDAQ", ylab = "Price (USD)", xlab = "Date") DJI.r...
I want to know the relationship between binomial and geometic distribution. I know the distribution both have two outcome and probability of success is the same for both distribution.
Suppose: ŷ = β0 + β1*x + ε Of course we can use wald tests for nulls like: H0: β1 = 0. That is clearly great for testing statistical significance. However, testing the coefficients for other values can be really useful too. For clarity, here are 2 text book examples (Wooldridge 2004): log(campus_crime) = β0 + β1*log(e...
This is related with this question. What is the best strategy/package in R/python/Mathematica to fit a non-linear model to data with uncertainty measures in both variables? Elaborating: For every data point, I have several measures of two variables, $X$ and $Z$. The different measures can be treated as independent repl...
I'm a complete beginner with regression analysis, so this question will probably seem really silly to you. But, I simply need to check multi-collinearity among dependent variables before I start modelling. I know, that when variables are multi-collinear, then $|x| > 0.8$. So, if I have following table with data (first...
I have a problem, that sounds very simple in theory but I fail to implement a good solution. Let my data be a sample of a continuous variable that that follows a normal distribution (m1,v1), associated with some other variables for each point. I want to get a subsample of this data where this variable will follow a di...