Showing posts with label cryptocurrency. Show all posts
Showing posts with label cryptocurrency. Show all posts

Wednesday, March 31, 2021

Selecting and Displaying Parts of a Vector in R Language

 


   Selecting and Displaying Parts of a Vector

 

·     *   Being able to select and display the parts of a vector is one of the most important reasons of selection of a Vector .

 

·     * If one has a large sample of data , then in case if one wants to obtain a large sample of data , then one may want to see which of the items are larger than which of the values which would require the user of the data to select those data that are larger ones among the dataset

 

·    *   In an alternative scenario , one may want to extract a series of values as a subsample from an analysis .

 

·    *    Being able to select / extract required parts of a vector is one of the most important aspects of performing many more complicated operations in R tool .

 

* The various examples or processes that one may come across while doing any type of selection of a chunk of data from a vector are in form of given scenarios :

 

·        extraction of the first item / single item from within a vector ;
·        selection of the third item ( nth item) from within a vector ;
·        selection of the first to the third items from a vector ;
·        selection and extraction of all items from a vector ;
·        selection of items from the combination vector ;
·        selection of all items which are greater than the value 3 (that means selection and extraction of given items with a value for the number greater than or lesser than some particular number) ;
·        Showing items which are either greater than or lesser than some set of numbers








  The other useful commands over the objects which can be used to extract the various parts of data are : length() command which can be used to find the length of a given vector .

·        The length command can be also put to use to obtain / extract segments of data from square brackets :

 

data[ length(data) - 5 : length(data)]

 

In the above given scenario example the last five elements of the vector are found out from the above used code :

·        

·        max() command can be used to get the largest value in the vector

 

==========================================================

> data1

[1] 4 6 8 6 4 3 7 9 6 7 10

 

> max( data1 )

[1] 10

 

> which( data1 == max(data1))

[1] 11

==========================================================

 

# The upper command -- "which" is showing the index number or position of the largest data from within the data vector . The maximum value of all the data elements present within the "data1" vector is 10 . The positional index value of the data from the vector is 11 .

 

·        The first command .. max() provides the actual value which is the largest value within the vector and the second command asks which of the elements is the largest .

 

·        Another useful command is one that generates sequences from a vector which can be expressed in the form .. seq()

·        While using the "sequence" vector , one may need to pick out the beginning to ending of the interval vectors . In given words , one may select the first , third , fifth and so on vectors using the given in sequence parameters like the start , end and the interval values .

 

·        Therefore putting the full scale general form of the "sequence" command can be writen in the given form :

 

seq(start ,end ,interval)

 

 

·        The above command will work on character vectors as well as numeric vectors in the given manner :

 ==========================================================

> data5

   "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct"     "Nov" "Dec"

 

> data5[-1:-6]

   "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" 

=================================================

* In the above code , the last 6 strings which are actually the three letter initials of each of the months of a calendar year are found out as result .

 

Thursday, December 10, 2020

How Bitcoin Works and why is bitcoin so popular

How Bitcoin Works and why is bitcoin so popular

* Value of Bitcoin in 2010 = 0 INR

* Value of Bitcoin in 2020 = 15 lakhs INR

* Bitcoin has reached its all time highest price margin in the year 2017

* In 2008 , a paper was published by Satoshi Nakamato in which the abstract about Bitcoin was mentioned in which a purely peer-to-peer version of electronic cash that would allow online paymentsto be sent directly from one party to another without going through a financial institutions . In this format , digital signatures provide part of the solution , but the main benefits are lost if a trusted third party is required to prevent double spending

.* Some years before Cryptocurrency was a new concept that was started to undergo financial transactions not controlled by financial institutions around the world but with due course of time

* Crypto-Currency variant Bitcoin doesn't have any central authority or point of control ; the way Indian National Rupee is controlled by RBI , American Dollar is controlled by USA Central bank or Federal Reserve Bank

* Some years before Cryptocurrency like Bitcoin , Ethereum , Litecoin were just an idea but now it has become a global phenomenon with thousands / millions / billions worth of trading over the same .

* In order to understand fully well the concept of Bitcoin and Cryptocurrency one needs to dig deeper into the Economic and Trading System of the past

* The established financial systems in place are based on the premise of trust and cooperation between the public and the government with banks playing the middlemen entrusted with carrying out issuing and authorization of money

* The entire economic system has been built over bullion value of money that is the amount of gold / silver held in reserve with a financial institution of a country . But as because it was impractical and risly to carry gold safely and use it as a medium of exchange over any transaction in a day to day manner , because of which cash as a convenient and eassier medium of transaction was created sothat ease of transaction and business could be carried out .

* When a depositor deposits money in a bank , the bank gets the authority to play around with your deposited money in whichever manner the banks want . They lend the deposited money to companies and individuals in the form of loans because of which these companies put the money into business or developmental activities and because of the profit accrued by the companies , the banks get interest due to the profitable ventures of the companies for which the money had been lent for and because of which the individuals get interest over their invested money .

* Recently it has come to light , how the banks handle the money in very irresponsible ways by lending big big amount of money to industrialists and big companies which swindle the money by not able to do justice to the lent money for which the money becomes bad debt , NPAs for the bank and thus the bank and the investor/depositor both suffer the consequences for having invested in such banks

* For these specific reasons , the people behind the concept of cryptocurrency and bitcoin did not want the financial institutions aided by the governments have so much authority and control over the monetary and financial system and thus crypto-currency was launched as an alternative economic and financial system for people as depositors which would be also out of the purview of control by the authorities .

* How do Crypto-currencies work ? In order to fully understand the working and functioning of the operation behind Crypto-currency , the user has to have a thorough understanding of the concepts of advanced mathematics and computer science theories and concepts . But if someone wants to start trading and investing , then one may not have in-depth understanding of the required paradigms rather a general knowledge of some of the underlying concepts would do

* All the transactions related to these various formats of crypto-currencies is tracked and recorded in a ledger .This ledger is available for viewing to all the people / participants under the bitcoin mining system . The people who run these systems are called as Miners . Their work is to verify the various transactions happening over the entire transaction chain .

* Suppose a Bitcoin transactioner wants to transfer 2 bitcoins to another person in the participative blockchain network , then the duty of the Miner governing the process is to confirm the number of bitcoins held by the operants and check that the transaction gets to successful completion , but for this the miner has to solve a complicated mathematical equation

* The work of the miner is to identify the individual variables of the transaction process . This is not undertaken in a pen and paper equation solving procedure rather this is solved programmatically over computers and servers which have combinations in the form of thousands and millions .And for this process to be effectively carried out , the miners need complex and highly powerful computing systems .Once the equation is solved m the variables for the equation get added to the network and the underlying transaction process are all added to the network in the form of a chain . And when this process of creation and registration of the problem has been carried out effectively the entire module of transactions and its records become a block which is called a blockchain . In the process , miners get bitcoin as a reward of their endeavours .The miners have to do a proof of work in order to complete the process of minting or carrying out the transaction process .

* However , even if the underlying core methodologies and process of Cryptocurrency and Crypto-Technology are not understood .. its important to learn the philosophy , vision and future of crypto-currency .

* So , how to use this Crypto-Currency and Bitcoin technology .. as these days some people use Bitcoin as a form of investment not within the jurisdiction of financial institutions and some people use it as a form of alternate currency and there are some who want to replace the usage of standard currencies such as dollar , pounds , yen , rupee and bring bitcoin into usage .

* So , main usage of Bitcoin and Cryptocurrency is in the form of a store of value where bullion would be kept stored as a digital locker . For this reason , bitcoin is also called as a Digital Gold . And there is always an amount of risk associated with bitcoin , as many people consider Bitcoin as a form of Digital Currency and not inherently as a form of standard currency as everything and all operations over bitcoin is governed and controlled by computers and algorithms , and thus it has not yet gained wide acceptance as a standard form of currency which can be used in general stores .

* However , it is being said and projected that in the very near future Bitcoin could be started as a medium of exchange between various parties as many western countries have started accepting bitcoin as a medium of transaction between different parties .

* Due to many technical challenges associated with Bitcoins , acceptance of Bitcoin as a form of legitimate and easy form of currency has not yet gained much traction . In Bitcoin , all transactions go through time consuming process of verification of transactions post any form of transaction is done because of which acceptability and widespread use has not yet been adopted for it .

* But in some cases , bitcoins have already evolved as a good means of currency exchange like in the case of foregin funds transfer . Here , in this case , many banks often charge a very high fees in the name of foreign funds transfer and in many situations , sometimes a lot of money is charged as processing fee for such kind of transfers when transfer between one country to another country takes place . As there is no processing fee for any such processes and there is not any underlying great amount of time for processing like banks do when they take over 1 to 2 days for a transaction to be over because of which Remittance service companies like Western Union are under a threat of closure and same goes for some banks which process heavy charges for remittances overseas .

* A similar process also exists for credit-card services and credit card handling charges . Because of all these banks have been against standardisation and acceptance of crypto-currencies as standard mediums of exchange and currency transactions as limitations and banking procedures and payment processing were a blocking factor which Crypto-currencies identified and tried to put a stop over it , so that financial institutions such as banks ' hegemony could be broken .Recognising this as a form of threat , Banking systems and institutions did not want regulating banks and governments all over world to accept cryptocurrencies as a standard mode of exchange .

* As per reports , during the covid pandemic situation across the globe , the stock markets have felt shocks as share prices of some stocks dwindled ,mutual funds run by banks got greatly affected but in contrast to this the prices of bitcoin has kept going up and over during the ongoing crisis time as well and it is being forecasted that , the price of bitcoin has surged to an all time high even during the pandemic time and it is also being said that bitcoins price is going to escalate even higher .

* As per Reports , from 1st March 2020 to 30th November 2020 , price of Bitcoin has increased around 150% .World's largest digital payments company Paypal introduced the feature of payment processing through the form of Bitcoin and crypto-currency during november 2020 . World's largest bank J.P. Morgan has also started accepting transactions in the form of Crypto-currency which is a major turn of events as JP Morgan was earlier not in favour of accepting Bitcoin and Crypto-currency as a form of currency exchange across any country or the world .

* So , now it can be observed that there has started a new form of open-mindedness about Crypto-currencies and thus its acceptability has increased across the world and financial institutions as a standard form of monetary and currency exchange

* As per collected reports and experiences , there has been a steadfast increase in the general mindset over usage of Crypto-currency as a standard mode of exchange . In 2018 , the RBI ( Reserve bank of India), the central and regulating bank of India had issued a circular to regulated financial institutions and entities to ban dealing in virtual and crypto-based currencies leading to which Indians in general were restricted the usage of INR - Indian National Rupee as a form of currency for exchange in buying and selling of crypto-currencies leading to which cryptocurrency traders were restricted usage of Indian Banks to take loans and trade in any form of crypto-currency .So all traders running Crypto-currency platforms were not able to run their errands .. like they were not able to pay salaries to their employees , they were not able to do day-to-day transactions with this medium of exchange .

* So the question here that rises is why RBI had issues such a type of restrictive ban on the usage of Crypto-currency as a form of exchange sighting issues such as money laundering and security issues as In the Dark Web form of internet people has started accepting bitcoins as medium of exchange for drugs and ammunitions and as such law enforcement agencies work had become tougher to track these sort of transactions and the parties operating over the same format as these were outside the purview of financial systems as tracking was a problem noticed under these form of exchanges .

* Another main reason why crypto-currency was not taken as an accepted form of monetary exchange was because there were cases of fraud noticed because of such crypto-currencies where public could be swindled by fraud and illegitimate companies as genuine operating platforms and draw in money on the premise of operable trading platforms , where people could get cheated and duped of their money .Such a kind of cheating and fraud case was noticed in a case of a guy named Amit Bharadwaj who duped investors a whopping 2000 crores worth of Indian money by claiming investors in his company that he would pay double or triple the amount invested in his operable trading platform as he had opened bitcoin minting farms across China and was running huge amount of profits due to his bitcoin minting platforms .But at last , all his claims and promises to investors were found out to be false and untrue , and by running this fraud he was successfully able to dupe 2000 crore amount of money from investors and got out of India . Now as per reports , it has come to picture that he had been arrested by Delhi Police and now is out on bail and the case is pending in court . Citing all these reasons , many of the fraudsters involved in exchange of cryptocurrency were forced to shutdown which blamed institutional banking ban on their usage platforms , many of the petition holders sought legal counsel for help but turned down as most of the advocates were also apprehensive taking up the case due to the legalities and sanctions framed by the monetary regulating body of RBI . After all these hiatus , finally in January 2020 , before a three-bench judge seating panel the apex court of India , Supreme Court ruled in favour of legalising Cryptocurrency as a mode of exchange thus lifting the ban imposed by RBI (Reserve Bank of India) , citing RBI's plea for banning Cryptocurrency was a disproportionate plea as their claim that Cryptocurrency would be a affecting factor to Indian Economy and Indian Monetary Control Laws , and thus the case was dropped and ruling in favour of legalising Cryptocurrency as an alternative form of Currency was adopted in the starting of 2020 . Therefore in the direction of adoption of Cryptocurrency as a legal and alternative form of currency was adopted in 4th March 2020 and there are no restrictive laws to be placed by the judiciary body on trade over these forms of currency .

* Because of reasons such as these , and judicious execution of monetary plans by RBI , general mindset about investment in these sort of crypto-currencies was still under the hood as it lacked accountability and proper authority .However , as more and more countries and financial institutions and general population has started adopting to crypto-currency , the picture for it has begun developing traction . So , now Indians can now invest in Crypto-Currency without facing any legal ban .

* But advice to the ones seeking this new concept as a medium of investing is that , invest as much as a person can risk losing and do not take loans from any other party , institution to buy shares of these as cryptocurrencies are still volatile and value of its shares can be seen to surge and fall and there is no guarantee that the price of its shares will keep moving up and investors will keep receiving high returns over this investment . So even if there is an opportunity for making big profits , there are still chances of losing , so it all depends upon the risk taking ability of the investor which is again a similar form of intraday trading as observed in share markets . So again it boils down to risk appetite of the investor aimed towards personal investment and profit goals