br2: Build our optimization function
Description
Build our optimization function
Usage
br2(params, n, N_max, A1, A2, S1, S2, N)
Arguments
params
Parameters to construct function
n
Number of observations in data
N_max
An integer indicating the maximum number of competitors
S1
First variable for size of the market
S2
Second variable for size of the market
Value
The function to be optimized