<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Support of Investors' Decision Making in Economic Experiments Using Software Tools</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Kherson State University</institution>
          ,
          <addr-line>27 Universitetska st., Kherson, 73003</addr-line>
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>0000</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>During making decision the logit and probit patterns serve to resolve different issues based on statistical data regarding expediency or inappropriateness: opening LTD, investing funds, hiring employees, entering a new market, introducing innovations, etc. The purpose of the research is to support the decision making in economic experiments using software tools and logit and probit analysis. To achieve this goal, the following tasks are defined: investigation of the range of application of the logit and probit models; calculation of open data using the RStudio; development of decision support models using open data sources. Methods and technologies of research: logit and probit models to predict the probability of dealing between traders of cryptocurrencies, cluster analysis of investor profiles through principal component analysis. To distinguish different types of investors we can use cluster analysis which help us to reveal main types of risk-attitude investors. After that we can construct correspondence between specific users and financial instruments.</p>
      </abstract>
      <kwd-group>
        <kwd>decision making</kwd>
        <kwd>economic cryptocurrencies</kwd>
        <kwd>cluster analysis</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        We studied criteria which affect prices of cryptocurrencies [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and found out that
combination of supply, mining difficulty, trading volume, and news reaction for each
date can predict more than 70% of the price (we used Bitcoin for research). R.C.
Philips and D. Gorse studied how to predict cryptocurrency prices bubbles using
epidemic modeling and human reaction on social media [2].
      </p>
      <p>Also, S. Colianni, S. Rosales, and M. Signorotti investigated cryptocurrencies
algorithmic trading techniques based on Twitter sentiments analysis [3]. C. Lamon, E.
Nielsen, and E. Redondo studied cryptocurrency price changes based on news and
Reddit sentiments [4]. Kim YB et al. in 2016 did significant research about how users
activities in communities affected prices of cryptocurrencies [5].</p>
      <p>All researches we have mentioned above show that users activities affect prices.
However, we applied a different approach in this research. Our idea was to predict
cryptocurrencies prices based on their daily trading volume.</p>
      <p>The decentralized digital currency Bitcoin presents an anonymous alternative to the
centralized banking system and indeed enjoys widespread and increasing adoption
[6]. The digital currency market is considerably growing, especially in the most recent
years. Level of uncertainty in returns has significantly increased during the high-price
time period. The high-price regime phase has profoundly revealed consistent
nonlinear dynamical patterns in the Bitcoin market [7]. The virtual currency supply is
exogenous and therefore plays only a limited role in the price formation. Bitcoin is a
digital currency based on a peer-to-peer payment system managed by an open source
software and characterized by lower transaction costs, greater security and scalability
than fiat money and no need of a central bank [8]. Bitcoin will remain a niche
currency. Authors [9] analyze the time-varying behavior of long memory of returns
on Bitcoin and volatility 2011 until 2017, using the Hurst exponent. R/S method is
prone to detect long memory. Price volatility, measured as the logarithmic difference
between intraday high and low prices exhibits long memory during all the period.
This reflects a different underlying dynamic process generating the prices and
volatility.</p>
      <p>The creation of cryptocurrencies has changed FinTech industry and it continues to
change it today,whereas people think that during 9 years nobody has found the real
use of cases for blockchain technology [10]. Now people still depend on banks,
because most countries did not define cryptocurrencies as national currencies; but in
the future the decentralized systems, such as Bitcoin, can substitute traditional
currencies. Also, due to continuously increasing digital society, financial services
providers are looking to offer their customers the same services to which they are
accustomed but in a more efficient, secure and cost-effective way.</p>
      <p>In addition to mining (the process of extraction of the cryptocurrency), trading with
cryptocurrencies is popular nowadays. It is risky but on the other hand, it is a fast way
to get a great sum of money. For example, at the beginning of 2017, Bitcoin cost
lower than $1000 but in December 2017 it cost almost $20000.</p>
      <p>The purpose of the paper is to support the investors’ decision making in economic
experiments using software tools.</p>
      <p>The paper is organized as follows: chapter 2 characterizes logit and probit models
for data analysis; chapter 3 includes аnalysis of cryptocurrency data for trading;
chapter 4 describes cluster analysis for investors’ profiles that plan to invest in
cryptocurrencies; the last part concludes.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Logit and Probit Models for Data Analysis</title>
      <p>Logit model is a regression model, where a dependent variable can have only two
alternative values "0" and "1". If dependent variable has more than two alternative
results can be analyzed in a multi-vector logistic regression. In economic sense
logistic regression is an example of a qualitative response to a discrete choice of
decision maker. The probability of an event is determined by the function (1):
1
pi  F Zi   1 eZi (1)
where Z is a linear combination of independent factors.</p>
      <p>The probit model is most often evaluated by probit regression using the
maximumlikelihood method. Assume that the response variable Y is binary, that is, it can have
only two possible results, which we will denote as 1 and 0. We also have a regression
vector X, which affects the result Y, then the model takes the following form (2):
( | ) ( ), (2)
where Pr – probability; Φ – cumulative distributive function of standard normal
distribution; β – parameters of maximum-likelihood estimation. In the matrix form the
regression will take following form:</p>
    </sec>
    <sec id="sec-3">
      <title>Analysis of Cryptocurrency Data for Trading</title>
      <p>Investigation of the dependence of the purchase and sale of cryptocurrency. Data for
the calculation was obtained from a public site,
https://finance.yahoo.com/cryptocurrencies (fig. 1).</p>
      <p>It has been selected 5 the most popular cryptocurrencies such as: BTC (Bitcoin), ETH
(Ethereum), BCH (Bitcoin Cash), LTC (Litecoin), NEO.</p>
      <p>Entering as a dependent alternating Yi(1-5), equal to 1 to indicate that the currency
has been purchased and 0 that shows that the cryptographic currency has not been
purchased [14]. Introduced explaining variables in order to show the course of this or
another cryptocurrency from the first November 2017 till the 30th April 2018 (fig. 2):
X1 - BTC, X2 - ETH, X3 - BCH, X4 - LTC, X5 - NEO.</p>
      <p>In order to track the dynamics of the cryptocurrency exchange rate at the initial
stage of calculations, we have created a chart (fig. 3). With a help of it we can make
out that only the BTC has significant fluctuations in value; the other four currencies
have minor fluctuations.</p>
      <p>So let's start work directly with RStudio. Download the data from MS Excel to
RStudio (fig. 4):
Data &lt;- read_xlsx("C:/RStudio/cr.xlsx")
View(Data)</p>
      <p>To start the calculation of regression and to work with it, we would enter the code
of called 'mylogit' [15] (fig. 5) and output the result using the 'summary' function. It is
clear due to this function that we want to predict the dependence of buying a
cryptocurrency from the value of the rate on it. As an argument we specify: dependent
and independent variables; the location of the initial data; 'family' indicates that the
distribution type is binomial.
A Result has been obtained, according to the results of the calculation that shows
remainders and coefficients. Since the calculation of regression [16] is made, we are
more interested in the coefficients from which the following picture is seen. The Pr (&gt;
| z |) indicator shows whether the coefficients are statistically significant or not.</p>
      <p>Since in this case Pr = 0,988 it means that statistical significance exists. This
calculation shows that the change in the rate of cryptography with a probability of
98.8% affects the decision to buy / sell cryptocurrency. The buyer during decision
making compares and analyzes the cryptos and then he/she chooses cheaper
cryptocurrency. So, the change in the price of cryptocurrency with a probability of
98.8% affects the decision to buy / sell cryptocurrency.</p>
      <p>But the most important is the value -0,386, it means that in spite of increasing the
cost of cryptocurrency of 1 currency unit the value of the logarithm decreases by
0,386 or 3,86%. But actually, these data form are not quite convenient to interpret, it`s
much more better to make the logarithm to the odds ratio through the exponent:
&gt; exp(mylogit$coefficients)
(intercept) INDEPENDENT
Inf 0.679769</p>
      <p>
        So, after calculating the exponent, we can say that with the increase of independent
variables (price) for 1 currency unit, the ratio of chances of buying a cryptocurrency
increases in 0.68 times. The next step of the calculation is to calculate the general
level of significance (adequacy) of the model. This action can be done in following
way: compare the residual deviation of the model with the deviation of the zero
model; calculate the number of degrees of freedom; determine the level of
significance correspondingly:
&gt; mylogit$null.deviance-mylogit$deviance
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]241.5509
&gt; mylogit$df.null -mylogit$df.residual
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]1
&gt; dchisq(mylogit$null.deviance-mylogit$deviance,
mylogit$df.null -mylogit$df.residual)
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]9.063528e-55
      </p>
      <p>The calculation of the significance level of the model indicates that if this level is &gt;
0, then our independent variable would affect the dependent. And the higher the given
indicator, the greater the impact is carried out. After calculations of regression to the
level of significance (adequacy) of the model, the result was obtained in the form of
the value 9.063528e-55. Once again it proves that the cost of the rate on the
cryptocurrency in the operation of buying and selling currency affects the buyer's
decision in almost all cases.</p>
      <p>But getting only one result is not enough. Metrics must also be present to show the
quality of the models. In this case, the ROC curve will be used, this chart allows us to
assess the quality of the binary classification.</p>
      <p>Using the ROCR begins with the creation of a prediction object; the 'prediction'
function will be also used to convert the input data (which can be in vector, matrix,
data frame, or list form) in the standard format to continue to build a chart.
&gt; library(ROCR)
&gt; a&lt;-predict(mylogit)
&gt; pred&lt;-prediction(a,Data@DEPENDENT)</p>
      <p>After connecting all the necessary libraries, we need to get the 'tp' (true positive)
parameter with the 'pred' function which is a vector of predicted labels (highlight
'pred' then press the Ctrl + Enter key combination) (fig. 6) to use them to construct the
chart.</p>
      <p>The next step is to construct the 'True positive rate' curve (fig. 7), using previously
obtained data.</p>
      <p>Let's proceed to the calculation of the area under the curve, cause it is more rational
and better for future calculations. In order to do this, we would insert an additional
change called 'perf1', and we construct a graph (fig. 8).</p>
      <p>In order to calculate the area under the curve of the graph, we need to use the
function 'auc' (Area Under Curve).
&gt; auc &lt;- performance(pred, "auc")
&gt; auc &lt;- unlist(slot(auc, "y.values"))</p>
      <p>Having completed this calculation, the platform showed the 'auc' = 1 (&gt; auc). It
means that ratio of the number of correctly and incorrectly classified attributes to the
selected values is perfectly suited.</p>
      <p>Having completed the calculations, we have the following general form of the code
(fig. 9), and the data (fig. 10).</p>
    </sec>
    <sec id="sec-4">
      <title>Experiment Evaluation of Investors’ Decision</title>
      <p>Estimation of probability to be purchased or not for different cryptocurrencies gives
us opportunity to develop investment plans [17] for investors with different
investment goals and risk attitudes using open dataset
(http://www.di.uniba.it/swap/financialrs_data_uniba.zip) of investors profiles.</p>
      <p>
        In this case we quantified our ordinal data:
• Risk profile=[very low; low; normal; high; very high]=[
        <xref ref-type="bibr" rid="ref1">1, 2, 3, 4, 5</xref>
        ];
• Investment goals=[very low; low; normal; high; very high]=[
        <xref ref-type="bibr" rid="ref1">1, 2, 3, 4, 5</xref>
        ],
• Sex=[male, female]=[
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ].
      </p>
      <p>R tools can process our dataset using principal component analysis (fig. 11) to
disclosure main types of investors to prepare investment plans for them using
financial instruments such as cryptocurrencies [18, 19].</p>
      <p>Cluster analysis of estimated data for 14532 investors (fig. 12) revealed 3 types of
investors:</p>
      <p> 1st type of investor: for the risk-aversing client, who invests in
cryptocurrencies, the yield and the risk will be lower.</p>
      <p> 2nd type of investor: for the risk-seeking investor, the yield and the risk will
be higher.</p>
      <p> 3rd type of investor: for neutral type of investor, the yield and risk will be
lowest.</p>
      <p>Principal component analysis using command biplot reveals that 1st main
component includes risk (abscissa axis), whereas 2nd main component consists of
investment goal (ordinate axis). The most investors are risk neutral, second largest
group of investors (upper) is risk-averse. The shortest group (below) includes
riskseeking investors.</p>
      <p>Thus investors who take part in trading of cryptocurrenices can be potential clients
of financial services which construct different investment plans for different risk
attitude clients and their behavior after price changing of cryptocurrencies.</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>As a conclusion of the giving research it is necessary to note that we have found a
dependency between the independent variables (the value of the cryptocurrency), and
the dependent variables (whether it would be bought or not). The effect of the
cryptocurrency rate almost 99% affects the purchase and sale of the currency. 1%
describes those buyers for whom the price is not of the great importance, or they have
personal preferences, or they are not afraid to take risks. If the price of cryptocurrency
increases from its average value, then the chance of the currency to be purchased will
be decreased in the inverse proportion.</p>
      <p>As a result of simulation experiment through the application using real data from
open sources we have revealed that that there were 3 group of investors (especially
risk-seeking clients) with different risk attitudes who can invest in different financial
instruments such as cryptocurrencies.
Harmonization and Knowledge Transfer, Kyiv, Ukraine, May 14-17 2018, Vol.2105,
453456 pp.
2. Phillips, R.C., Gorse, D.: Predicting cryptocurrency price bubbles using social media data
and epidemic modelling, 2017 IEEE Symposium Series on Computational Intelligence
(SSCI), Honolulu, HI, 2017, pp. 1--7.
3. Colianni, S., Rosales, S.M., Signorotti, M.: Algorithmic Trading of Cryptocurrency Based
on Twitter Sentiment Analysis (2015). Mode of access:
http://cs229.stanford.edu/proj2015/029_report.pdf
4. Lamon, C., Nielsen E., Redondo, E.: Cryptocurrency Price Prediction Using News and</p>
      <p>Social Media Sentiment. SMU Data Science Review 1(3), 1--22 (2017).
5. Kim, Y.B., Kim J.G., Kim W., Im J.H., Kim T.H., Kang S.J., et al.: Predicting Fluctuations
in Cryptocurrency Transactions Based on User Comments and Replies. PLoS ONE 11(8):
e0161197 (2016). https://doi.org/10.1371/journal.pone.0161197.
6. Ziegeldorf, J.H., Matzutt, R., Henze, M.: Secure and anonymous decentralized Bitcoin
mixing. Future generation computer systems-the international journal of escience 80,
448-466 (2018).
7. Lahmiri, S., Bekiros, S.: Chaos, randomness and multi-fractality in Bitcoin market. Chaos
solitons &amp; fractals 106, 28--34 (2018).
8. Giungato, P., Rana, R., Tarabella, A. et al: Current Trends in Sustainability of Bitcoins and</p>
      <p>Related Blockchain Technology. Sustainability 9(12), 1--11 (2017).
9. Bariviera, A. F.: The inefficiency of Bitcoin revisited: A dynamic approach. Economics
letters 161, 1--4 (2017).
10. Magnus, Y.R., Kagyshev, P.K., Perezetsky, A.А.: Econometrics. Initial Course: Case.</p>
      <p>(2007).
11. Ayvazyan S.A.: Applied statistics. Fundamentals of econometrics. Unity-Dana (2001).
12. Kaplan R., Urwitz G.: Statistical models of bond ratings: A methodological inquiry.</p>
      <p>Journal of Business 52(2), 231--261 (1979).
13. Efimova M.: Workshop on general theory of statistics: tutorial Bachelor's Guide: Yuright
(2013).
14. Hosmer, D., Lemeshow, S.: Applied Logistic Regression (2nd Edition). John Wiley &amp;</p>
      <p>Sons, Inc. (2000).
15. Moherny V. et al. Economic Encyclopedia: Publishing Center "Academy" (2008).
16. Dowherty K. Introduction to econometrics. INFRA-M (2009).
17. Kobets, V., Poltoratskiy, M. (2016): Using an Evolutionary Algorithm to Improve
Investment Strategies for Industries in an Economic System CEUR Workshop Proceedings,
vol. 1614, P. 485-501 (Indexed by: Sci Verse Scopus, DBLP, Google Scholar).
http://CEUR-WS.org/Vol-1614/ICTERI-2016-CEUR-WS-Volume.pdf.
18. Ivanon, O., Snihovyi, O., Kobets, V. (2018): Implementation of Robo-Advisors Tools for
Different Risk Attitude Investment Decisions, CEUR Workshop Proceedings, vol. 2104, P.
195-206.
19. Kobets, V., Yatsenko, V., Mazur, A., Zubrii, M. (2018): Data Analysis of Private
Investment Decision Making Using Tools of Robo-Advisers in Long-Run Period, CEUR
Work-shop Proceedings, vol. 2104, P. 144-159. http://CEUR-WS.org/Vol-2104/</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Ivanov</surname>
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Snihovyi</surname>
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kobets</surname>
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Cryptocurrencies Prices Forecasting With Anaconda Tool Using Machine Learning Techniques</article-title>
          ,
          <source>Proceedings of the 14th International Conference on ICT in Education, Research and Industrial Applications</source>
          . Integration,
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>