Translate

Wednesday, May 17, 2023

American Tower Corporation (AMT)

 American Tower Corporation (AMT) is a leading global real estate investment trust (REIT) specializing in the ownership, operation, and development of multitenant communications real estate. Based in Boston, Massachusetts, the company boasts a portfolio of approximately 219,000 communications sites worldwide.

AMT's core business involves providing infrastructure for wireless and broadcast communications, enabling the efficient transmission of data, voice, and video. The company's extensive portfolio of communications sites positions it as a key player in supporting the growing demand for connectivity.

The company has a robust management team led by Mr. Thomas A. Bartlett, who serves as the President, CEO, and Director. The executive team includes experienced professionals in various key roles, such as finance, operations, and legal affairs.

AMT's financials indicate a positive dividend policy, with a dividend rate of $6.24 and a dividend yield of 0.0319. The company has a payout ratio of 1.4966, which reflects a portion of its earnings distributed to shareholders as dividends.

Analysts' opinions on AMT are generally positive, with a recommendation key of "buy." The target mean price for the stock is $241.27, with a target high price of $271.00 and a target low price of $215.00. The company has 15 analyst opinions contributing to these targets.

In summary, American Tower Corporation is a prominent player in the global communications infrastructure market. With its extensive portfolio of communications sites and strong financial performance, the company is well-positioned to capitalize on the increasing demand for connectivity worldwide.



Here are some key financial measures for the company:

1. EPS (Earnings Per Share): The company's earnings per share is $2.9, indicating the portion of the company's profit allocated to each outstanding share.

2. Trailing Price to Earnings Ratio: The trailing PE ratio is 65.8759. This ratio compares the stock's current market price to its earnings over the past 12 months, suggesting how much investors are willing to pay for each dollar of earnings.

3. Price to Book Ratio: The price to book ratio is 16.4675. It compares the stock's market price to its book value per share, providing insight into the company's valuation relative to its net asset value.

4. Dividend Yield (%): The dividend yield is 3.19%. It represents the percentage of the stock's annual dividend payment relative to its current market price, indicating the return on investment from dividends.

5. Return On Equity (%): The return on equity is 12.176%. This metric measures the company's profitability in relation to shareholders' equity, indicating how efficiently it generates profit from invested capital.

6. Debt to Equity Ratio: The debt to equity ratio is 382.921. It shows the company's level of debt relative to shareholders' equity, providing insight into its financial leverage and risk.

7. Free Cash Flow: The company's free cash flow is $4684.39 million. This metric represents the cash generated by the company after accounting for operating expenses and capital expenditures, indicating its ability to generate cash for expansion, dividends, or debt reduction.

8. Market Capitalization: The market capitalization is $89032.9 million. It reflects the total value of the company's outstanding shares in the stock market, providing an indication of its size and overall market worth.

9. Revenue Growth (%): The revenue growth is 4%. This metric measures the percentage increase in the company's revenue compared to the previous period, indicating its ability to generate sales growth.

10. Operating Margin (%): The operating margin is 30.381%. It represents the percentage of each dollar of revenue that translates into operating income, demonstrating the company's profitability after deducting operating expenses.

11. Forward Price to Earnings Ratio: The forward PE ratio is 39.5528. This ratio calculates the stock's current market price relative to the estimated earnings per share for the next 12 months, providing insight into the market's expectations for future earnings growth.

These financial measures offer valuable insights into the company's earnings, valuation, profitability, financial health, and market performance.

The table and spider chart provided below depict the percentiles of financial measures for AMT (American Tower Corporation) compared to the financial measures of S&P 100 stocks:


The table and spider chart show that American Tower Corporation (AMT) has a higher EPS, P/B ratio, dividend yield, and return on equity than the median S&P 100 stock. AMT also has a higher debt to equity ratio, but its free cash flow and market cap are both below the median. AMT's revenue growth is also higher than the median, but its operating margin is lower.

Overall, AMT appears to be a relatively strong company. It has a high EPS, P/B ratio, and dividend yield, which suggests that it is profitable and well-managed. However, its debt to equity ratio is high, which could be a risk factor. AMT's revenue growth is also high, which could be a positive sign for the future. However, its operating margin is lower than the median, which could suggest that it is not as efficient as some of its peers.


             Financial Measure  Percentile Stock
0                           EPS         20.202020
1                     P/E Ratio         93.750000
2                     P/B Ratio         90.109890
3            Dividend Yield (%)         63.095238
4              Return On Equity         31.818182
5                Debt to Equity         89.156627
6   Free cash Flow (in million)         41.176471
7       Market Cap (in million)         25.000000
8                Revenue Growth         51.546392
9              Operating Margin         74.226804
10                        Total        580.081623




These visual representations provide an overview of how AMT's financial measures rank relative to the S&P 100 stocks. The percentile values indicate the position of each measure compared to the other companies in the S&P 100 index.


Tuesday, May 16, 2023

Crytocurrencies (Bitcoin, Ethereum, Litecoin and Bitcoin Cash)

Cryptocurrencies, or digital currencies, are decentralized digital or virtual assets that utilize cryptography for secure financial transactions, control the creation of new units, and verify the transfer of assets. They operate on a technology called blockchain, which is a distributed ledger that records all transactions across a network of computers.

There are thousands of cryptocurrencies in existence, each with its own unique features and purpose. Some of the well-known cryptocurrencies include:

1. Bitcoin (BTC): Bitcoin is the first and most well-known cryptocurrency. It was created in 2009 by an anonymous person or group of people using the pseudonym Satoshi Nakamoto. Bitcoin is often referred to as digital gold and is widely recognized as a store of value and a medium of exchange.

2. Ethereum (ETH): Ethereum is a decentralized platform that enables the creation and execution of smart contracts and decentralized applications (DApps). It introduced the concept of programmable blockchain, allowing developers to build and deploy their own applications on its blockchain network.

3. Litecoin (LTC): Litecoin is a peer-to-peer cryptocurrency that was created in 2011 by Charlie Lee, a former Google engineer. It is often considered a lighter version of Bitcoin, with faster block generation times and a different hashing algorithm.

4. Bitcoin Cash (BCH): Bitcoin Cash is a fork of Bitcoin that was created in 2017 to address scalability issues. It increased the block size limit, allowing for more transactions to be processed in each block.

The following charts depict the historical movement of cryptocurrency prices as of 05-16-2023. It is evident that these cryptocurrencies have rebounded from the drop experienced in the previous year.


The charts illustrate the recovery in prices and indicate a positive trend in the cryptocurrency market. This rebound suggests renewed investor confidence and a resurgence in demand for these digital assets.

It's important to note that the cryptocurrency market is highly volatile, and the prices of these assets can fluctuate significantly within a short period. However, the charts provide a visual representation of the recovery and showcase the resilience of these cryptocurrencies.

Please keep in mind that the performance of cryptocurrencies can be influenced by various factors, including market conditions, technological advancements, regulatory changes, and investor sentiment. Therefore, it is essential to approach cryptocurrency investments with caution and conduct thorough research before making any financial decisions.






From 2017 to 2023, Bitcoin (BTC) has displayed a diverse range of performances. Let's examine the annual returns of Bitcoin during this period based on the provided values: - In 2017, Bitcoin had a negative performance of -15.97%. - In 2018, Bitcoin experienced a significant downturn with a negative performance of -73.37%.
- In 2019 marked a significant turnaround for Bitcoin, as it exhibited a positive return of 93.89%. - In 2020, Bitcoin demonstrated impressive performance with a positive return of 305.52%. - In 2021 continued to be a strong year for Bitcoin, with a positive return of 59.32%. - In 2022, Bitcoin experienced a decline with a negative performance of -64.25%. - As of the provided data, in 2023, Bitcoin has shown positive performance with a return of 64.41%. It's important to note that this value represents the performance up until the available data, and the overall performance for the entire year may differ. Bitcoin's performance has been subject to various factors, including market sentiment, regulatory developments, macroeconomic conditions, and technological advancements. It's crucial to remember that investing in cryptocurrencies carries inherent risks, and past performance should not be seen as a guarantee of future results.

From 2017 to 2023, Ethereum (ETH) has exhibited varying performance. Let's analyze the annual returns of Ethereum during this period based on the provided values:

- In 2017, Ethereum had a negative performance of -7.67%. 

- In 2018, Ethereum experienced a significant downturn with a negative performance of -82.39%. 

- 2019 saw a relatively mild performance for Ethereum with a slight decline of -1.62%. 

- In 2020, Ethereum had a remarkable performance with a positive return of 475.42%. 

- 2021 continued to be a strong year for Ethereum, with a positive performance of 398.51%. 

- In 2022, Ethereum experienced a downturn with a negative performance of -67.55%.

- As of the provided data, in 2023, Ethereum has shown positive performance with a return of 52.11%.

From 2017 to 2023, Litecoin (LTC) has shown a mixed performance. Let's examine the annual returns of Litecoin during this period based on the provided values:

- In 2017, Litecoin had a negative performance of -25.66%. 

- In 2018, Litecoin experienced a significant downturn with a negative performance of -86.89%. 

- 2019 saw a reversal in Litecoin's performance with a positive return of 37.88%. 

- In 2020, Litecoin had a notable performance with a positive return of 203.53%. 

- 2021 demonstrated relatively modest performance for Litecoin, with a positive return of 17.32%. 

- In 2022, Litecoin experienced a decline with a negative performance of -52.03%. 

- As of the provided data, in 2023, Litecoin has shown positive performance with a return of 24.25%. 

From 2017 to 2023, Bitcoin Cash (BCH) has demonstrated a diverse performance. Let's examine the annual returns of Bitcoin Cash during this period based on the provided values:

- In 2017, Bitcoin Cash had a negative performance of -36.83%. 

- In 2018, Bitcoin Cash experienced a substantial downturn with a negative performance of -93.76%.

- 2019 saw a reversal in Bitcoin Cash's performance with a positive return of 37.98%. 

- In 2020, Bitcoin Cash had a notable performance with a positive return of 68.27%. 

- 2021 demonstrated relatively modest performance for Bitcoin Cash, with a positive return of 25.58%. 

- In 2022, Bitcoin Cash experienced a decline with a negative performance of -77.47%.

- As of the provided data, in 2023, Bitcoin Cash has shown positive performance with a return of 19.87%.



From 2017 to 2023, the ratio of Ethereum to Bitcoin has been steadily rising, indicating a growing demand for Ethereum compared to Litecoin and Bitcoin Cash. This upward trend suggests that Ethereum has been increasingly sought after by investors and traders, potentially reflecting its perceived value and utility in the cryptocurrency market.

On the other hand, the ratio of Bitcoin Cash to Bitcoin has been declining during the same period. This decline suggests a relatively weaker demand for Bitcoin Cash compared to Bitcoin. It could be attributed to various factors such as changes in market dynamics, investor preferences, or specific developments within the Bitcoin Cash ecosystem.

In contrast, the ratio of Litecoin to Bitcoin prices has remained relatively steady over this time frame. This stability implies that the demand for Litecoin has been relatively consistent compared to Bitcoin. It suggests that Litecoin has maintained a certain level of attractiveness and usage within the cryptocurrency landscape without experiencing significant shifts in demand relative to Bitcoin.

It's important to note that these ratio movements are based on historical data and can be influenced by a variety of factors, including market trends, investor sentiment, technological advancements, and regulatory developments. Therefore, these ratios should be interpreted within the context of the broader cryptocurrency market dynamics, and past performance may not necessarily guarantee future outcomes.



Monday, May 15, 2023

Amgen (AMGN) as of 05-15-2023

Amgen Inc. is an American multinational biopharmaceutical company headquartered in Thousand Oaks, California. It is one of the world's largest independent biotechnology companies, with a market capitalization of over $130 billion. Amgen was founded in 1980 by George Rathmann, and it has since grown to become a leading developer and manufacturer of innovative medicines for the treatment of a wide range of serious diseases, including cancer, cardiovascular disease, kidney disease, rheumatoid arthritis, and osteoporosis. 

 Amgen's products are used by millions of patients around the world, and the company has a strong track record of research and development. In recent years, Amgen has made significant investments in new technologies, such as gene editing and cell therapy, and it is well-positioned to continue to bring innovative medicines to patients in the years to come. Amgen is a global company with operations in over 100 countries. It employs over 22,000 people worldwide, and it is committed to providing patients with access to high-quality, affordable medicines. Amgen is also a strong advocate for patient care and research, and it is a member of a number of patient advocacy organizations. Amgen is a leading force in the biotechnology industry, and it is committed to making a difference in the lives of patients around the world.


Sunday, May 14, 2023

AIG as of 05-14-2023

AIG, or American International Group, is a multinational insurance and financial services corporation with a rich history and global presence. Founded in 1919, AIG has grown to become one of the largest insurance companies in the world, providing a wide range of insurance products and services to individuals, businesses, and institutional clients. Originally established as an insurance agency in Shanghai, China, AIG quickly expanded its operations globally and became known for its innovative insurance offerings. 

Over the years, the company has diversified its business lines and now operates in various sectors, including property and casualty insurance, life insurance, retirement products, mortgage insurance, and asset management. AIG experienced significant growth and success throughout much of its history, but it faced a major crisis during the 2008 global financial crisis. Due to its involvement in complex financial instruments, such as credit default swaps, AIG faced severe financial difficulties and received a bailout package from the U.S. government to prevent its collapse. 

The company went through a restructuring process, including asset sales and management changes, to stabilize its operations and repay the government assistance. In the years following the financial crisis, AIG focused on streamlining its business and strengthening its core operations. Under the leadership of a new management team, the company divested non-core assets, reduced risk, and implemented cost-cutting measures. 

These efforts aimed to restore AIG's profitability and financial stability while regaining the trust of its customers and shareholders. Today, AIG operates in more than 80 countries and serves millions of customers worldwide. The company offers a wide range of insurance solutions tailored to the needs of different industries and individuals. Its property and casualty insurance division provides coverage for commercial property, liability, marine, aviation, and other risks, while its life insurance and retirement division offers products such as annuities, term life insurance, and retirement savings plans. 

 AIG has also made efforts to embrace technology and digitalization to enhance its customer experience and operational efficiency. The company has invested in data analytics, artificial intelligence, and other emerging technologies to improve risk assessment, claims processing, and customer service. Furthermore, AIG has a strong commitment to corporate social responsibility. The company actively supports various philanthropic initiatives, community development projects, and environmental sustainability efforts. 

AIG aims to contribute positively to the communities in which it operates while also managing risks and creating long-term value for its stakeholders. While AIG faced significant challenges in the past, the company has shown resilience and has made strides in recovering from its financial crisis. Through strategic initiatives, operational improvements, and a customer-centric approach, AIG continues to play a prominent role in the insurance and financial services industry, providing protection and financial solutions to individuals and businesses around the world.
Here is a breakdown of the financial measures for AIG based on the provided values:

 - EPS (Earnings Per Share): The EPS for AIG is $7.95, indicating the company's earnings per outstanding share of common stock. 

 - Price to Earnings Ratio (P/E Ratio): The P/E ratio for AIG is 6.60252, which is calculated by dividing the market price per share by the EPS. It suggests that investors are willing to pay approximately 6.6 times the company's earnings for each share. 

 - Price to Book Ratio (P/B Ratio): The P/B ratio for AIG is 0.891641, calculated by dividing the market price per share by the book value per share. It indicates that the company's stock is trading at a price lower than its book value. 

 - Dividend Yield (%): The dividend yield for AIG is 2.73%. It represents the ratio of the annual dividend per share to the stock's current market price, indicating the return on investment through dividends. 

 - Return On Equity (ROE %): AIG has a return on equity of 12.698%. ROE measures the company's profitability by evaluating how effectively it generates profits from shareholders' equity. 

 - Debt to Equity Ratio: AIG's debt to equity ratio is 56.243. This ratio shows the proportion of the company's financing that comes from debt compared to equity. A higher ratio indicates a higher reliance on debt financing. 

 - Free Cash Flow: AIG has a negative free cash flow of $3,872.5 million. This indicates that the company's operating cash flow is not sufficient to cover its capital expenditures and other cash outflows. - Market Capitalization: AIG's market capitalization is $38,076.6 million. It represents the total market value of the company's outstanding shares of stock. 

 - Revenue Growth (%): AIG experienced a negative revenue growth of 27%. This indicates a decline in the company's revenue compared to the previous period. 

 - Operating Margin (%): AIG's operating margin is 19.79%. This represents the profitability of the company's core operations, calculated by dividing operating income by revenue and expressing it as a percentage. 

 These financial measures provide insights into various aspects of AIG's financial performance, including profitability, valuation, debt levels, and market perception. It's important to note that financial measures should be considered in conjunction with other factors and analyzed within the context of the company's industry and market conditions.

Adobe Inc. (ADBE) as of 05-14-2023

Adobe Inc. is a diversified software company based in San Jose, California. It operates worldwide and is divided into three segments: Digital Media, Digital Experience, and Publishing and Advertising. The Digital Media segment offers products and services for content creation, publishing, and promotion, including the popular subscription service Creative Cloud. The Digital Experience segment provides an integrated platform for brands and businesses to manage and optimize customer experiences. The Publishing and Advertising segment offers various products and services, including e-learning solutions and web conferencing. Adobe distributes its products and services directly to enterprise customers and end users through its sales force, field offices, app stores, and website.

The company was founded in 1982 and changed its name to Adobe Inc. in 2018. It has over 29,000 full-time employees. The current chairman and CEO is Shantanu Narayen. Other key executives include the CFO Daniel J. Durn, the President of Digital Media Business David Wadhwani, and the President of Digital Experience Business Anil S. Chakravarthy.

In terms of financials, Adobe has a market capitalization of approximately $169.9 billion. Its stock symbol is ADBE, and it is traded on the Nasdaq Stock Market. The previous close for Adobe's stock was $372.05. The company's 52-week low and high are $274.73 and $451.15, respectively. It has a trailing price-to-earnings ratio of 35.35 and a forward price-to-earnings ratio of 21.05. Adobe has a profit margin of 26.32% and generates revenue of $17.99 billion. It has a strong presence among institutional investors, with 85.7% of shares held by institutions.

Overall, Adobe is a leading software company known for its creative products and digital experience solutions, serving a wide range of customers worldwide. The company continues to innovate and expand its offerings in the technology sector.







+--------------------------------------------+-------------+
| Financial Measure                          |       Value |
+============================================+=============+
| EPS                                        |     10.48   |
+--------------------------------------------+-------------+
| Trailing Price to Earnings Ratio           |     35.3454 |
+--------------------------------------------+-------------+
| Price to Book Ratio                        |     11.9683 |
+--------------------------------------------+-------------+
| Dividend Yield (%)                         |      0.83   |
+--------------------------------------------+-------------+
| Return On Equity (%)                       |     33.859  |
+--------------------------------------------+-------------+
| Debt to Equity Ratio                       |     29.044  |
+--------------------------------------------+-------------+
| Free Cash Flow (in million dollars)        |   6525.5    |
+--------------------------------------------+-------------+
| Market Capitalization (in million dollars) | 169912      |
+--------------------------------------------+-------------+
| Revenue Growth (%)                         |      9.2    |
+--------------------------------------------+-------------+
| Operating Margin (%)                       |     33.913  |
+--------------------------------------------+-------------+
| Forward Price to Earnings Ratio            |     21.0466 |
+--------------------------------------------+-------------+

Here is an analysis of the financial measures provided:

1. EPS (Earnings Per Share): The EPS for Adobe Inc. is $10.48. EPS represents the company's profitability per share.

2. Trailing Price to Earnings Ratio: The trailing P/E ratio is 35.3454. This ratio indicates the market's valuation of a company's earnings. A higher P/E ratio suggests higher investor expectations for future growth.

3. Price to Book Ratio: The price-to-book ratio is 11.9683. It compares the market value of a company's stock to its book value, indicating whether the stock is overvalued or undervalued. A higher ratio may indicate an overvalued stock.

4. Dividend Yield (%): The dividend yield is 0.83%. It represents the annual dividend payment as a percentage of the stock's current price. Adobe has a relatively low dividend yield, indicating a focus on reinvesting earnings rather than distributing them as dividends.

5. Return on Equity (%): The return on equity is 33.859%. It measures the profitability of a company in relation to shareholders' equity. A higher percentage indicates more efficient utilization of shareholder investments.

6. Debt to Equity Ratio: The debt-to-equity ratio is 29.044. It shows the proportion of a company's financing that comes from debt compared to equity. A higher ratio suggests higher financial leverage and potential risk.

7. Free Cash Flow: Adobe generated free cash flow of $6,525.5 million. Free cash flow represents the cash generated by a company's operations after accounting for capital expenditures.

8. Market Capitalization: The market capitalization of Adobe is $169,912 million, which represents the total market value of its outstanding shares.

9. Revenue Growth (%): Adobe achieved a revenue growth rate of 9.2%. This indicates an increase in its overall revenue compared to the previous period.

10. Operating Margin (%): The operating margin is 33.913%. It measures the profitability of a company's core operations. A higher operating margin suggests better operational efficiency.

11. Forward Price to Earnings Ratio: The forward P/E ratio is 21.0466. It provides the projected P/E ratio based on estimated future earnings. A lower ratio may suggest a more favorable valuation.

These financial measures provide insights into Adobe's profitability, valuation, debt levels, cash flow, and growth. It is important to consider these metrics along with other factors when making investment decisions.

                 Financial Measure  Percentile Stock
0                           EPS         77.777778
1                     P/E Ratio         81.250000
2                     P/B Ratio         83.516484
3            Dividend Yield (%)          0.000000
4              Return On Equity         75.824176
5                Debt to Equity         13.095238
6   Free cash Flow (in million)         56.321839
7       Market Cap (in million)         63.000000
8                Revenue Growth         69.387755
9              Operating Margin         79.591837
10                        Total        599.765106

The percentiles of the financial measures compared to the S&P 100 stocks are as follows: 0. EPS: The EPS percentile is 77.78, indicating that Adobe's earnings per share is higher than approximately 77.78% of the companies in the S&P 100. 1. P/E Ratio: The P/E ratio percentile is 81.25, suggesting that Adobe's price-to-earnings ratio is higher than approximately 81.25% of the companies in the S&P 100. 2. P/B Ratio: The P/B ratio percentile is 83.52, indicating that Adobe's price-to-book ratio is higher than approximately 83.52% of the companies in the S&P 100. 3. Dividend Yield (%): The dividend yield percentile is 0.00, suggesting that Adobe does not offer a dividend yield compared to the companies in the S&P 100. 4. Return On Equity: The return on equity percentile is 75.82, indicating that Adobe's return on equity is higher than approximately 75.82% of the companies in the S&P 100. 5. Debt to Equity: The debt-to-equity percentile is 13.10, suggesting that Adobe's debt-to-equity ratio is lower than approximately 13.10% of the companies in the S&P 100. 6. Free Cash Flow: The free cash flow percentile is 56.32, indicating that Adobe's free cash flow is higher than approximately 56.32% of the companies in the S&P 100. 7. Market Capitalization: The market capitalization percentile is 63.00, suggesting that Adobe's market capitalization is higher than approximately 63.00% of the companies in the S&P 100. 8. Revenue Growth: The revenue growth percentile is 69.39, indicating that Adobe's revenue growth rate is higher than approximately 69.39% of the companies in the S&P 100. 9. Operating Margin: The operating margin percentile is 79.59, suggesting that Adobe's operating margin is higher than approximately 79.59% of the companies in the S&P 100. 10. Total: The total percentile is 599.77, which is not directly comparable to the other percentiles as it represents a cumulative score based on multiple financial measures. A higher total percentile suggests that Adobe's overall financial performance, considering the analyzed measures, is relatively favorable compared to the S&P 100 companies. These percentiles provide a perspective on how Adobe's financial measures compare to the broader market represented by the S&P 100.


Sunday, April 23, 2023

New Home Housing Market

The following charts display the trends of new one-family homes sold, new privately owned housing units started, homeownership, and the U.S. National Home Price Index. In recent years, there has been a decline in the number of new homes sold and new housing units started. The U.S. National Home Price Index has also started to decline. Despite these trends, homeownership rates have continued to increase, although the rates of increase have slowed down.
Python codes - import pandas_datareader.data as web import pandas as pd import numpy as np import matplotlib.pyplot as plt start = '1990-01-01' Housing = web.DataReader(['HSN1F'], 'fred', start=start) Diff_Housing = Housing.pct_change(periods=12) * 100 fig, axs = plt.subplots(2, 1) axs[0].bar(Housing.index[-252*20:], Housing['HSN1F'][-252*20:], color='blue', width=20) axs[0].set_title('New One Family Sold') axs[0].set_ylabel('Thousands') axs[1].bar(Diff_Housing.index[-252*10:], Diff_Housing['HSN1F'][-252*10:], color='blue', width=10) axs[1].set_title('New One Family Houses Sold (HSN1F) Changes from same period in previous year') axs[1].set_ylabel('Percent') axs[1].set_xlabel('Year') plt.show() HOUST = web.DataReader(['HOUST'], 'fred', start=start) Diff_HOUST = HOUST.pct_change(periods=12) * 100 fig, axs = plt.subplots(2, 1) axs[0].bar(HOUST.index[-252*20:], HOUST['HOUST'][-252*20:], color='blue', width=20) axs[0].set_title('Housing Starts: Total: New Privately Owned Housing Units Started (HOUST)') axs[0].set_ylabel('Thousands') axs[1].bar(Diff_HOUST.index[-252*20:], Diff_HOUST['HOUST'][-252*20:], color='blue', width=20) axs[1].set_title('Housing Starts: Total: New Privately Owned Housing Units Started (HOUST)') axs[1].set_ylabel('Percent') axs[1].set_xlabel('Year') plt.show() RSAHORUSQ156S = web.DataReader(['RSAHORUSQ156S'], 'fred', start=start) Diff_RSAHORUSQ156S = RSAHORUSQ156S.pct_change(periods=12) * 100 fig, axs = plt.subplots(2, 1) axs[0].plot(RSAHORUSQ156S.index[-252*20:], RSAHORUSQ156S['RSAHORUSQ156S'][-252*20:]) axs[0].set_title('Homeownership Rate for the United States (RSAHORUSQ156S)') axs[0].set_ylabel('Percent') axs[1].bar(Diff_RSAHORUSQ156S.index[-252*20:], Diff_RSAHORUSQ156S['RSAHORUSQ156S'][-252*20:], color='blue', width=20) axs[1].set_title('Homeownership Rate for the United States (RSAHORUSQ156S)') axs[1].set_ylabel('Percent') axs[1].set_xlabel('Year') plt.show() CSUSHPINSA = web.DataReader(['CSUSHPINSA'], 'fred', start=start) Diff_CSUSHPINSA = CSUSHPINSA.pct_change(periods=12) * 100 fig, axs = plt.subplots(2, 1) # plot the time series data axs[0].plot(CSUSHPINSA.index[-252*20:], CSUSHPINSA['CSUSHPINSA'][-252*20:]) axs[0].set_title('U.S. National Home Price Index (CSUSHPINSA)') axs[0].set_ylabel('Index Value') # plot the annual percentage change axs[1].bar(Diff_CSUSHPINSA.index[-252*20:], Diff_CSUSHPINSA['CSUSHPINSA'][-252*20:], color='blue', width=20) axs[1].set_title('Annual Percent Change in U.S. National Home Price Index (CSUSHPINSA)') axs[1].set_ylabel('Percent') axs[1].set_xlabel('Year') # show the plot plt.show()