instruction stringlengths 9 38.7k |
|---|
Can someone point me to some resource (textbook,paper,blog,..) that clearly explains when we should NOT balance data for classification/regression?
I found https://matloff.wordpress.com/2015/09/29/unbalanced-data-is-a-problem-no-balanced-data-is-worse/ but wonder if there are other cases and/or more complete answer for... |
I am using regression models to test the effect of two genetic mutations (let's say SNP1 and SNP2) on a cognitive error-evaluation measure (let's say CEEM), and I am controlling for age. I run the following models:
CEEM ~ SNP1 + Age
CEEM ~ SNP2 + Age
CEEM ~ SNP1 * Age
CEEM ~ SNP2 * Age
Here, there are significant main ... |
I have a dataset that describes the estimated number of seeds being released from a tree on a minute by minute basis, and environmental variables such as wind speed, temperature and relative humidity that have been recorded at the same time as the seed release. I would like to build a multivariate regression model such... |
what is the difference between convex, non-convex, concave and non-concave functions? how will we come to know that the given function is convex or non-convex? and if a function is non-convex then it will necessarily be concave one?
Thanks in advance
|
I need an approach to assign weights to variables based on the cluster. I am not trying to learn the clusters, as I already have them, but I would just like to now understand how "important" each variable is to the cluster. Is there any way of determining weights per variable per cluster?
I thought I could use a multi... |
The equation of an exponential function is $y = ae^{bx}$
The data is plotted as shown below:
Transforming this for linear regression: $ln(y) = ln(a) + bx$
This transformation is shown in the plot below:
Then the linear regression equation is: $ln(y) = -369.9778+0.187693x$
How do I transform it back in the form of $y=... |
why is it necessary to divide the data set into training and testing set while running a particular model? what is the significance of such partition? why is it not possible to get a model for test data with the same prediction accuracy as the training data?
|
I ran a within-subject study with the primary measure of interest being response time. Due to response time being right skewed I used Wilcoxon signed ranks test on the median values. I am having to revisit this work and I am now wondering/checking that using the Wilcoxon signed ranks test is feasible when working with ... |
I was watching the MIT open course on machine learning. In the session on SVM, the professor derived that the margin is $\frac{1}{\|w\|}$. However, the professor then said for the convenience of mathematics, to maximize $\frac{1}{\|w\|}$, which implies to minimize $\|w\|$, is minimizing $\frac{\|w\|^2}{2}$.
What is th... |
I'm faced with the task and I need the help of senior statisticians.There are a lot of virtual gambling, for example poker, it is need to detect bots. There are a lot of fixed indicators (mouse movement, clicks and so on).How to determine whether a bot is playing or a person on the basis of these data. Is the time seri... |
I'm attempting to create a Neural Network to use as a rain model to generate representative precipitation levels for a given location.
The problem I'm facing is that the network always converges to the average amount of rain. For example, the trained network predicts that it will be constantly raining a small amount al... |
During the follow-up time, event A will happen multiple times, and there are 3 types of A, I call it A1, A2 and A3. I wonder if there is a statistical method that I can calculate the incidence rates of A1, A2 and A3 separately and compare the incidence rate to each other?
Should I only consider A1 as the event of inter... |
Consider the simple linear regression model:
\begin{align}
Y_i &= \beta_1 + \beta_2X_i + u_i \\
\hat{Y}_i &= b_1 + b_2X_i
\end{align}
(a) Show that the regression line always passes through the point $(\bar X, \bar Y)$. What does this imply about the covariance between $b_1$ and $b_2$?
I have been readi... |
Is quantile regression a parametric regression or it is semiparametric? If it is parametric then what are its assumptions and if semiparametric then how?
|
I want to build a clinical prediction model and only can collect data from a small number of patients (let's say 500). Is it better to build a model by including only putative predictors in the model instead of everything that is available as often done in the machine learning community? I would think that using only 1... |
I try to fit several binomial glmms. My interest is wheather historic and recent samples differ in their climatic conditions.
My data is organized as follows, where rand.factI has 62 levels and is nested within rand.factII (9 levels). Binary variable hist_rec is the target variable; it indicates "historic sample" (=0) ... |
This question concerns the overlap / common support issue for estimating the Average Treatment Effect on the Treated (ATT) in a two group setting via Propensity Score (PS) Weighting.
One possibility to check for overlap in the covariate distributions is to plot the density of the estimated Propensity Score seperatly in... |
Let $x_{1}=-2,x_{2}=1,x_{3}=3,x_{4}=-4$ be observed values from the following density function:
$f(x|\theta)=\frac{e^{-x}}{e^{\theta}+e^{-\theta}}$ where the support is $-\theta \leq x\leq\theta$.
The likelihood function will be maximum when the denominator of the density is minimum which happens when the $\theta$ is m... |
I had a data matrix 609 rows × 264 columns, time-series data. Data was reduced using t-SNE algorithm to 3 dimensions. When being clustered I get zero clusters, where all data points are considered noise. I tried increasing eps until I reached 1.0, and I get same results for min_samples=2: zero clusters, all noise data.... |
I am using the ADAM optimizer at the moment with a learning rate of 0.001 and a weight decay value of 0.005.
I understand that weight decay reduces the weights values over time and that the learning rate modifies to weight in the right direction. Does it makes sense to have a higher weight decay value than learning rat... |
Let's suppose you have been given some data from a randomized block design with 4 repetitions and 23 treatments. After an initial inspection of the data, you notice that for 8 treatments all repetitions are identical, which is obviously wrong. After reporting the problem, you are told that it was due to a confusion fro... |
I suffer from a momentary confusion. Given a regression model, specified in R as
lm(Y ~ group)
where group is a factor with several levels, how should I code the contrasts such that for each group level, I test whether the group mean is significantly different from zero?
|
I have built a neural network that detects dog breeds.
My issue is that I don't know how to handle images that don't contain dogs. Indeed, whenever I input a flower image, it will be classified as a dog breed.
Is there a way I could train my neural network to the output "I don't know"?
Attempt:
I have tried adding pict... |
Let $x$ be an observation from $X\sim Bin(n,p)$. I want to estimate $p$ and use ML estimator, $\widehat{p}=\frac{x}{n}$. I also want to estimate the variance of the estimator $\widehat{p}$. It equals: $Var(\widehat{p})=Var(\frac{X}{n})=\frac{Var(X)}{n^2}=\frac{p(1-p)}{n}$. As we don't know $p$, it is often replaced by ... |
Say I have an experiment running where I give treatment to a random selection of people, and I know that the target variable is affected by a number of factors. I know most of the factors that affect the target. So with this, I can run a model on my data, predict the target variable and see if the treatment variable is... |
A categorical column can be encoded using one hot encoding before it's used in a machine learning algorithm. If I care about prediction, is it generally better to
impute NA with the most frequent category, or
create a new column called "column1_na" that is True whenever column1 had a missing value?
|
Is there a version of Stein's lemma for multivariate Gaussians, I am attempting to solve integrals of the form:
$$
\mathbb{E}(\mathbf{x} g(\mathbf{x})) =\int_{\mathbb{R}^p} \mathbf{x} g(\mathbf{x}) \mathcal{N}(\mathbf{x}| \mu, \Sigma) d\mathbf{x}
$$
and
$$
\mathbb{E}(\mathbf{x}^T\mathbf{x} g(\mathbf{x}))
$$
where $\mat... |
I have a count-channel histogram, where the counts have a standard Poisson uncertainty - if bin $i$ has $C_i$ counts then the uncertainty is $\sqrt{C_i}$.
Now if I were to sum all the bins my job would be easy - the entire histogram would be considered a bin with Poisson noise, and the uncertainty would be
$\sqrt{\sum_... |
Is it correct to claim that a correlation between two variables indicates a potential main effect in explaining one of the variables?
|
This question might sound very silly, but I haven't found a clear answer so far.
Suppose you are working with a panel including several time series data for different countries/cities/firms: when analyzing the panel in a regression is it somehow mandatory to consider time and countries/cities/firms fixed effects?
If th... |
In Element of Statistical Learning II, in the context of smoothong splines, $\pmb{S_{\lambda}}$ is defined as
$$
\pmb{S_{\lambda}} = \pmb{N}(\pmb{N}^T\pmb{N} + \lambda \pmb{\Omega_N})^{-1}\pmb{N}^T
$$
$\pmb{N}$ is a $N$x$N$ square matrix defined as $\pmb{N}_{i,j} = N_j(x_i)$ where the $N_j$ are defined as
$$\left\{\beg... |
Consider a binary random variable $\theta\in\{0,1\}$. I refer to this variable as "the state". Further assume that each possible state happens with equal probability (i.e., equal to $1/2$). I cannot observe this state, however I have access to a sample $\{r_i(\theta)\}_{i=1}^n$. This sample constitutes the realization ... |
I am a bit confused. The assumptions that have to be fulfilled so that OLS estimators are consistent (and efficient) are fairly straightforward.
I am currently trying to prove consistency of quantile regression (QR) estimators.
I have found the following lecture notes: https://eml.berkeley.edu/~powell/e241a_sp10/qrnote... |
I'm trying to work out how to calculate the necessary sample size for a two sample t-test using excel and need some help.
I don't think I am able to upload an excel attachment, so I will write out what I have.
Cell B1 = mu1,
Cell B2 = mu2,
Cell B3 = sigma
The calculation i'm doing is
=((1.96+NORM.INV(0.8,0,1))/((B1-B... |
I have some trouble finding a proper explanation of variability of the components of eigenvectors when applying a PCA analysis on a purely random dataset. As a background to my question, I want to make sure PCA analysis I perform on financial returns is sound and I can be reasonably confident that the "economic" inter... |
I am trying to estimate the parameters of a uniform distribution, which, by a visual inspection, is between -5 and 25.
I am getting the following error:
"Error in jags.model(filepath, data = list(x = x, N = N), n.chains = 2) :
Error in node x[1]
Node inconsistent with parents"
I think the problem is with the .bu... |
I have data in the following format:
[$t_1, t_2, t_3, \dots, t_n$] - which is a list of times at which an event has occurred during a day
They are in minutes within 24 hours and limited by $t_{\text min} == 0, t_\text{max} == 1440 $.
What I would like to obtain is a (smooth, if possible) function that takes a given ti... |
My question is not well worded, which is part of the problem. I’m specifically trying to apply this to my understanding of Six Sigma, but it probably applies everywhere.
I know that having a normal distribution in your sampling is preferable to a non-normal distribution, because of the wider range of statistical tests ... |
So I created an ANN with 4 nodes hidden layers and 3 nodes in output layer (as there are 3 classes) to classify the following data-set of flowers.
UCI Iris Data Set
Now I tokk 60% of the data and used it to train the ANN. The learning rate for the connection between both the layers are 0.1. I have used the sigmoid fun... |
I have a mix of continuous and categorical explanatory variables I would like to enter into a canonical redundancy analysis (RDA), but I'm not sure whether it is valid to use discontinuous variables in this type of analysis? My question stems partly from the fact that discontinuous variables aren't suitable for PCA and... |
I was stuck with the function 17.13 in the open source book deep learning on page 590.
For short, the question is that,
For the importance sampling estimator:
$$\hat s_q = \frac{1}{n}\sum_{i=1, x^{i}\sim q}\frac{p(x^{(i)})f(x^{(i)})}{q(x^{(i)})}$$
and its variance can be represented as:
$$Var[\hat s ] = Var[\frac{p(x)... |
I am writing a program that is supposed to do the linear regression of the union of two data sets, s1 and s2. I thought that if I could compute the variance and covariance of (s1 U s2) I would have the linear regression.
I only have the running data for the s1 and s2. What I mean is that for each set I only have:
size
... |
In deep learning, the total loss commonly consists of a task-specific loss and a weight regularized loss:
loss = loss_specific + lambda * reg_loss
In my case (set lambda=1.0), I have the following observations. The loss_specific decreases at a faster speed than the reg_loss, for example:
step 1: loss_specific=0.77, re... |
Let's say I have 100,000 images total. I have around 15 categories for the images. I do not know how the 100,000 are distributed across these categories.
I'd like to select N images at random, then manually classify them and arrive at an approximate of how my 100k images are grouped into the 15 categories. Eg, cat1: 5%... |
I've run a mediation using PROCESS.
Path a (X->M) is positive and significant (2.7, p<.0001). Path b (M->Y) is negative and significant (-.50, p=.0008). Path c' (X->Y) or the direct effect is negative and significant (-1.64, p=.009). The indirect effect is also negative and still significant (-1.36 with 95%CI of -2.29... |
I am attempting to use lmer to model my data.
My data has 2 independent variables and a dependent variable.
The first is "Morph" and has values "Identical", "Near", "Far".
The second is "Response" which can be "Old" or "New".
The dependent variable is "Fix_Count".
So here is a sample dataframe and what I currently hav... |
I have a function which chooses when to make a trade. I've set it loose on a bunch of market historical data, and it's generated n trades. I have the profit/loss figures for each trade, and therefore a mean profit/loss across all of my function's trades. How can I calculate how many trades I would need to make before I... |
I would like to share my analysis in order to have guidance on how to improve the time series results.
Here you will find a table comparing real values vs forecasted ones.
Below you will find the code that generated that output (in R).
# Load required libraries
library(forecast)
library(lubridate)
library(tidyverse)
l... |
I am trying to use Spark MLib ALS with implicit feedback for collaborative filtering and I have two questions:
according to this paper it seems that I may need to provide both 0- and non-0 preference records wherein 0 means there's no user-product association while non-0 values represent association strength. I assume... |
How can I show that these two expressions are the same.
$$\int_0^1\int_0^xF(z)dzdx \le \int_0^1\int_0^xG(z)dzdx$$
$$\iff$$
$$\text{var}_F(x)\le \text{var}_G(x)$$
where F and G are distribution functions with support [0,1] and the same mean.
I am stuck with taking integral and the definition of variance.
|
There are four card types. Red, Blue, Green, and Black. From a deck of 20 cards (6 red, 6 blue, 6 green, and 2 black) you randomly draw 6 cards without replacement. I am trying to program a calculator that calculates the probability of drawing 2 reds for instance. How about 4 blues? 6 greens? I would also need to find ... |
I am currently working with GAM from the MGCV package to develop a model for my system and I'm in the unfortunate situation where my observations are unevenly distributed in the covariate space. The situation is probably best illustrated with an example:
I create a GAM with a call that looks something like this:
myGa... |
Suppose I have a data-matrix $\bf X$, which has more features than samples ($p > n$).
I'd like to perform a Hotelling's T$^2$ test to determine whether or not to reject the null-hypothesis that the pop. mean is $\bf 0$.
I essentially face two problems, first, the covariance matrix is singular. Second, the F-statistic ... |
What is the probability of a value to be greater than the mean plus three times the standard deviation (assuming a normal distribution)? What is this probability for an arbitrary distribution?
|
I've checked several posts here and haven't found what I'm looking for... The goal is to do a CAPM regression and assume that you have the following information:
monthly prices for company AAPL, S&P500(call it sp) and the 10 year treasury (call it bond)
you make the following adjustmets to make sure your data is corre... |
There are a lot of geometric intuitions for regression with least square, e.g., projection, orthogonal, etc. (This and this answers are good examples.)
Is there similar geometric intuition for least absolute deviation regression?
|
I read in some article that the month of the year was being considered as qualitative nominal variable, but for me the month of the year has a clearly ordered structure and should therefore be considered as qualitative ordinal. Am I right?
On the same article it was said that the year was a qualitative ordinal variable... |
I am wondering Q is a Q-function, and
$Y = Q(\frac{t-1}{0.0894})(1-Q(\frac{t}{0.0894}))$
How can I find $t$ such that it maximizes $Y$?
|
It's fairly well-known that given univariate distribution functions $F_X, F_Y, F_Z$, one can construct the joint distribution $F_{(X, Y, Z)}(x, y, z) = C(F_{X}(x), F_{Y}(y), F_{Z}(z))$, where $C$ is some choice of copula function, which is basically any multivariate distribution with uniform marginals. Different copula... |
Different approaches to pseudo-R² naturally yield different results. For example, Nagelkerkes pseudo-R² tends to yield higher results than McFaddens pseudo-R².
As I am not a statistician, it thus can be somewhat difficult to interpret pseudo-R². In ecology (correct me if I am wrong), it is ± broadly accepted that a fai... |
I need to estimate the sample size for a new study with a between-within subject design (4 groups and 2 within factors).
In order to do that, I want to perform a power analysis in g-power. I can infer the "possible" effect size of my study from the effect size found in two similar studies already published (I don't hav... |
I have a full year of 2017 daily sales data and am looking forward to predicting the daily sales for next month. It has strong seasonality of 7, so what I did is to use Holt-Winters to calculate the level, trend and seasonal components from the 8th data points, fill it down in Excel till the last day of 2017, and start... |
Does it make sense to build a $SARIMA(1,0,0)(2,0,0)$ when $\Phi_1$ is not significant and $\phi_1$ and $\Phi_2$ are? I have this case, here is the plot:
Here are the data:
data<-ts(c(5.8,5.4,5.3,5.4,5.7,5.7,5.6,5.6,6.0,
5.2,4.9,4.9,5.2,5.0,4.9,4.4,4.5,3.7,4.0,4.3,5.0,5.3,5.7,5.3,
5.2,4.9,4.8,4.4,5.1,4.4,... |
We use control charts in our lab to monitor process variation, and I'm trying to reconfigure the chart for one of our methods, so data is better represented.
For the method in question, we use a control standard and plot measured values in a control chart. However, the attribute measured in constantly decreasing (gas ... |
I have two groups, each with 6 observations. One group was generated by an old test method. The other group was generated by a new test method. I would like to test if the new method produces more consistent results.
My first instinct is a test for equal variances, with an alternative hypothesis that the new test ha... |
So I've trying to follow various resources (Geron, Doersch, Altesaar, et al.) to construct a working loss function for my variational autoencoder but I'm finding that formulations either seem to work only for binary images (mine are 8-bit RGB), or if they succeed, it is only because the generative and reconstructive lo... |
I am using Python's seaborn package to plot a bivariate KDE. In my dataset, I have 2 columns ( A and B ) and 7000 rows. Of these 7000 rows, I have only 500 rows with values > 0. The majority of the data are 0 in both columns A and B.
As a result of this, I am facing an error/problem of dividing by zero in the KDE comp... |
Let's say I have $n$ measurements (let's assume monthly measurements) of some underlying random variable $X_{t}$ for $t\in\{1,\ldots,n\}$. Now, let's say I then construct a new measure
$$Y_{t}=\tfrac{1}{12}\big(X_{t}+X_{t+1}+\cdots+X_{t+11}\big)$$
which is the forward 12-month average of the underlying random variable.... |
I want to compute the VAR and expected shortfall for log returns of monthly wholesale gas and electricity prices.
The data is not normally distributed and I only have 72 observation for each.
I haven't done any normality tests yet.
some stat of log ret
Electricity
Skew:0.45
Kurt:6.77
mean:0.0004126
sd:0.0877
Gas
Ske... |
I'm constructing a logit model with a binary dependent variable (probability of exiting unemployment). On the right hand side (independent variables), I have a few continuous variables and a number of categorical variables (e.g. race, job industry, marital status). My question is, is there any value to calculating the ... |
I have a data which looks like this
df<- structure(list(ID = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L,
10L, 11L, 12L, 13L, 14L, 9L, 20L, 15L, 19L, 17L, 18L, 16L, 22L,
21L), .Label = c("A", "AA", "AAA", "AAAA", "AAAAB", "AAAABB",
"AAAABBB", "AAAABBBB", "AAATTF", "AABBBBBB", "AABBBBBBB", "AACCBBB",
"AACFBB", "AACF... |
I've seen some great posts explaining PCA and why under this approach the eigenvectors of a (symmetric) correlation matrix are orthogonal. I also understand the ways to show that such vectors are orthogonal to each other (e.g. taking the cross-products of the matrix of these eigenvectors will result in a matrix with o... |
How am I supposed to represent area input variables to SOM, with the weights/distances to be based on how much they overlap?
I'm trying to encode ranges of finite and positive integers. Like:
500-600
550-650
0-100
101-102
Problem is, the underlying calculations of SOM are supposed to use numeric subtraction and multi... |
I have spatially correlated data which I want to fit in a linear mixed effect model In matlab. I use fitlmematrix model where there are only one co-variance structure to be included which is for random errors. I want to incorporate error variance as a guassian correlation function but could not find any source about ho... |
Imagine that I have an estimator which has positive support (like standard deviation). Is it a normal thing that I have an interval estimator which contains negative values?
any help will be appreciated.
|
I know Jensen's is used everywhere. What other inequalities are used in statistical proofs (please state the inequality rigorously and formally)? As a bonus, you could cite a paper/theorem where the inequality is applied.
|
Correcting for multiple testing is easy, and there's a lot of literature around it. But now consider a different problem.
Say you have $X$ and $Y$ and you want to estimate $E[Y|X=x]= f(x)$ where $f$ could be any function.
Say you fit several functions $f_1, \dots, f_k \in F$ and you pick one of them according to some... |
Suppose I fit a linear model
$$y = X\beta + \epsilon$$
and I can derive the coefficient of determination, also known as the R squared, by calculating
$$R^2 = 1 - \frac{SS_{res}}{SS_{tot}}$$
where
$$SS_{res}=\Sigma e_i^2$$ and
$$SS_{tot}=\Sigma (y_i-\bar{y})^2$$
Now I also want to know how well the $e>0$ side and $e... |
I have a dataset, which contains DateTime, target, target_type. target is basically the count of a process. target_type is binary and it says if the count was of the type, say "outflow" or of type, say "inflow".
this has been recorded at periodic intervals. what I would like to do is, predict target for the next n tim... |
What was the first derivation of the normal distribution, can you reproduce that derivation and also explain it within its historical context?
I mean, if humanity forgot about the normal distribution, what is the most likely way I would rediscover it and what would be the most likely derivation? I would guess the fir... |
I have a time series data that i wanted to make an ARIMA model, but in a condition that, my forecast result needed to be a strictly positive number, so here is my actual data:
but before making a model, I am conducting stationary test first to these data to look if it follows Stationary or not, then I get result like ... |
There are lots of related CV questions to the title above, but I'm looking for some clarification on a specific approach, and some explanation.
The set up is as follows (adapted from another question) https://stats.stackexchange.com/a/93548/87437:
days=seq(1,5,length=100)
y=numeric(100)
y[1:50]=2*days[1:50]
y[51:100]=r... |
Given three vectors $a$, $b$, and $c$, is it possible that correlations between $a$ and $b$, $a$ and $c$, and $b$ and $c$ are all negative? I.e. is this possible?
\begin{align}
\text{corr}(a,b) < 0\\
\text{corr}(a,c) < 0 \\
\text{corr}(b,c) < 0\\
\end{align}
|
I use python pandas for transforming a csv with panda dataframe for feature engineering (e.g., handle missing values, extract feature etc.) and pass it to machine learning algorithm for handling.
Many times when I execute, it is to tune the algorithm. But now it always rerun the whole feature engineering codes make it ... |
I have run a one-way ANOVA to check whether the mean score obtained by three groups of students from different schools is statistically significant ($n= 2000, 1500, 400$ respectively)and (unsurprisingly) found that the variance was statistically significant. I calculated ETA squared which resulted in a 0.129 ES.
Assu... |
Premise: not very clever in statistics!
Data: I have quantitative data (two variables, A and B) on two small groups of subjects (both N=7); I'm going to perform a T-test to check differences about those groups. Before it, I run a normality test on data A and B of first group, using Matlab lillietest function. The test ... |
I am trying to train a predictive model on EEG signals, because of the high frequency of signals I am using a wavenet, after training when I use it as a generative model (like PixelCNN) it fails miserably and generates a bias only; it's 1.probably because of my loss function which is MSE and the network only learned to... |
In his "Deep learning with Python" book, Francois Chollet says that "With neural networks, it's safe to input missing values as 0, with the condition that 0 isn't already a meaningful value. The network will learn from exposure to the data that the value 0 means missing data and will start ignoring the value."
As I kno... |
I have been trying to model the value of bitcoin log returns using R and my main objective is to apply an ARCH-GARCH model to the data set and produce some forecast from this. I think it might be applicable to note that this is for academic purposes and apologies if I have misinterpreted any of
the concepts explained b... |
I'm currently searching for an Overview over Reinforcement Learning Algorithms and maybe a classification of them. But next to Sarsa and Q-Learning + Deep Q-Learning I can't really find any popular algorithms.
Wikipedia gives me an overview over different general Reinforcement Learning Methods but there is no reference... |
I don't understand exactly what is meant by the term "nugget effect" in geostatistics. When looking at empirical variograms plotting the variogram $\gamma(h)$ vs. the lag $h$, the nugget is defined as the discontinuity from the origin when the lag $h=0$.
When $h=0$ you should also get $\gamma=0$ because you should be ... |
What would be a good way of measuring propensity of contagion between two sets of nodes in a network? I tried creating an index that includes path distance and number of shortest paths, but network size impacts too much the result.
data <- read.table(text="
A B C D E F G
... |
I have a basic question about Bayesian statistics.
Lets say that I want to make forecasts of a certain response variable, based on explanatory variables and lagged responses variables, while I have no knowledge apart from the data. This means that under a Bayesian approach, I would specify a diffuse prior to obtain th... |
We have two copies of the same Neural Net (NN). Lets call them NN1 and NN2.
NN1 is trained on a Training set (TSo) that yields weight set W1
If we train NN2 on TSo's shuffled set (TSs), will the weights yielded, W2 be same as W1?
Data to be trained is same, just the ordering of the training data is different.
NN1 = NN... |
I am reading the paper by Willemsen et al (2015), "A multivariate Bayesian model for embryonic growth", Statistics in Medicine, 34:8, 1351–1365
I have a model like
$$y_{ij} = \gamma_{i2} + f((t_{ij} - \gamma_{i1}) / exp(-\gamma_{i3}) ) + \epsilon_{ij}$$
Here,$y_{ij}$= response, for ith person at jth time point.suppo... |
I am new in python and clustering problem. I need some help for visualization of clustered data.
I have some unlabeled data with 15 attributes and 30161 instances. I took 70% data for clustering and cluster those data into 2 cluster. I also added one column after clustering named 'cluster' and the column '<=50k' was la... |
Using a relatively standard MLP neural network, I model the total duration of an activity based on many counts of sub-activities, where the relationships between the sub-activities and duration may be non-linear. I mean-center and z-normalize the inputs for insertion into the network, meaning that some input examples h... |
In both the reinforcement learning course given by David Silver and the latest draft of Richard S. Sutton's RL book what is the formal definition of the symbols $S_t$ and $A_t$?
Do these definitions depend on the policy being used until time-step $t$?
Some context for the question:
I realize that this question might... |
I am working on a physical random number generator that is hopefully can generate RN with arbitrary distribution. I am trying to research some applications for this RNG. I have some basic question about Monte Carlo as below:
For example, if I have two correlated events, one has probability distribution A, the other has... |
Let $X_1$ and $X_2$ be i.i.d. continuous random variables with pdf $f(x) = 6x(1-x), 0<x<1$ and $0$, otherwise.
Using Chebyshev's inequality, find the lower bound of $P\left(|X_1 + X_2-1| \le\frac{1}{2}\right)$
What I did:
Using as Chebyshev's inequality,
$P(|X-\mu|\ge a)\le \frac{\sigma^2}{a^2}$
Where $a=\frac{1}{2}$
F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.